Closed cotyhamilton closed 3 years ago
The only routing sirv will do is 1:1 mapping of requests to file structure. If you need something more, you should stand up a Polka or any proxy server.
In this case, you could skip all that and create assets inside /public/MyApp
and then sirv public
Hope that helps
Alright, thank you for the suggestion
Would be cool to have an option to serve under a path other than root.
For example
sirv --single --dev --basepath MyApp
Which would serve it at localhost:5000/MyApp