npm.io
0.1.1 • Published 7 years agoCLI

node-static-custom

Licence
MIT
Version
0.1.1
Deps
3
Size
35 kB
Vulns
0
Weekly
0

node-static-custom

clone from node-static but add a options

serverPath

u can custom a path not just /

example: { serverPath: "/level1" }

so you can request to '/level1/xxx.html'.

Defaults to ''