Static file serving and directory listing. More information: https://github.com/vercel/serve. Start…
Static file serving and directory listing. More information: https://github.com/vercel/serve.
serve
serve -p {{port}} {{path/to/directory}}
Access-Control-Allow-Origin: *
header in all responses:serve --cors
index.html
file:serve --single
serve --ssl-cert {{path/to/cert.pem}} --ssl-key {{path/to/key.pem}}
serve --config {{path/to/serve.json}}
serve --help