1.0.5 • Published 5 years ago
web-dev-serve v1.0.5
This is a script to serve your files over http and https folder
- For https server, you can provide cert.pem and key.pem in the certificate folder of your project folder.
- Pages should be kept in public folder.
- A 404 page should be named as '404.html' which would load for wrong file paths.
- You can provide following options in your scripts a. PORT - PORT of your server. Default port is 8004. b. HTTPS - true or false for your https connection. Default is true. c. START - Initial page to be loaded for the root path. Default is index.html. d. DEST = Destination directory of your served files.