Closed wyze closed 4 years ago
This just broke our deployments. Please update the docs.
This is accidentally a breaking change. Sorry about that. Which port would you prefer?
I would prefer specifying it, just like the previous version:
pushstate-server ./ 5000
But this will mount on 9000 in v3.1.0
The original command is unavailable. Please update the docs.
I'm gonna guess this is a regression in minimist? It seems the only thing that changed is that you now have to specify the options directly
pushstate-server -d ./dist -p 8080
or maybe it's all been broken since this commit: https://github.com/scottcorgan/pushstate-server/commit/0e07d439a8a5ec3141e780d38902cc32401ffe48#diff-a9b3224c7bedc40cad54b9dfab96553e
Looks like readme has been updated with #85.
I came across this because our docker images stopped serving files correctly. Our command is
pushstate-server ./dist 8080
which worked fine in 3.0.1, but after getting 3.1.0 it uses the default port (9000) instead of 8080.Just thought I'd log an issue here so readme could be updated or changes could be made to bring back that functionality.