A simple static http/https file server that works with HTML5 Pushstate.
Defaults all routes to
index.html in the given root directory. Treats all other files to be static, and routes urls with the given static directories to make them relative to root.
localhost/a/pushstate/routewill always return
localhost/a/pushstate/route/assets/emoji.pngwill always return
assetsdirectory is given as one of the static directories.
npm install git+ssh://github.com/aerofs/https-pushstate-server.git --save
$ https-pushstate-server -r rootDir -p 8000 -s -c certFile -k keyFile -d assets,styles,scripts