w3c-css
w3c-css copied to clipboard
Make config.host dynamic
When you use the validator extensively, it sometimes makes sense to use a local instance of it, either because you don' t want to flood the validator, but also because, during the development process, all you files are not available from the outside world, and you don' t always work on open source projects.
If a parameter could be use for the config.host
value, it would be appreciated.
Hi @smonff, Thanks for feedback!
Agreed, that's a problem. I'll look into it.
The support of a local instance is on the way..
Just added Dockerfile to deploy the validator locally.
Relesed 2.0.0
Added an option to specify a custom server:
- server - the "IP:PORT" string or the URL object of a custom validation server, e.g, '172.17.0.2:8080' or { host: '172.17.0.2:8080' } or { hostname: '172.17.0.2:8080', port: 8080 }
Added npm run scripts to run the validation server locally in a docker container.
An updated readme is here
Let me know if there are any problems.