Turn on/off maintenance page while working on production server.
Want to see pretty graphs? Log in now!
npm install maintenance-page
|4||downloads in the last week|
|15||downloads in the last month|
|Last Published By|
|Version||0.1.3 last updated 2 years ago|
|Keywords||maintenance, page, command, shell|
In deployed service it doesn't show up professionalism while you are working on server at the same time user are getting proxy error or other unexpected problem (Which was in fact happening for www.khadok.com's users ;)).
Thus i built this project so i can easily use "maintenance-page -m /path/to/my/temporary-down-html-files-dir" command to turn on maintenance page.
maintenance-page -m /path/to/my/temporary-down-html-files-dir
* -h, --help Print this help * -P, --port NUMBER Server port, by default 80 * -H, --host HOST Server host, by default 0.0.0.0 * -m, --mount-dir FILE Server directory from where index.html and related resources will be served, Required
- v-0.1.1 - Fixed issue with not showing up page if request url is not "/" . Now it will be forced to index.html (by default) or use -d argument to set different page