static-server-quick
v1.0.5
Published
create http,https,http2 server to serve static resource files from a local directory
Downloads
5
Maintainers
Readme
static-server-quick
start http,https,http2 server to serve static resource files from a local directory
usage
npm i static-server-quick -g
# path should be absolute path to static resource directory
static-server <http|https|http2> <absolute-path>
for example
execute in terminal:
static-server http2 /user/project/static
and then, open https://localhost:8091/index.html in browser(there is an index.html in static directory)
If the browser issues a warning, follow the steps below:
step1:
step2: