Open jacknugent opened 2 years ago
I guess baseDir
option proposed in https://github.com/http-party/http-server/pull/294 is what you want.
Alternatively you can create folder build/path
and let http-server
serve the whole build
folder (if you can't change your directory structure, build/path
could be just a symlink in your filesystem to the folder with actual content).
This issue has been inactive for 180 days
In my package json, if I set the
homepage
like this:Is there any way to run
http-server
such that I can run the app from that specified subdomain? Something likelocalhost:3000/path
? Currently, I can only get 404s (as expected) because the app expects to be run at/path
Unfortunately, I cannot simply replace
/path
with.
like the Create React App docs suggest because I am usingpushState
on IIS:Cross posted in serve