node.js - How to serve the default angular seed/tutorial app on the root route? -
I'm using this as the basis for creating an app. However, when I start NPM, I have to go to localhost: 8000 / app /
to get the app. I would like to change the route so that I can run the app on the root path ( localhost: 8000 / app /
). Where can I configure? I have just tried to move the app / app from root but it breaks NPM / build scripts.
Without running the project itself (after all this is Sunday), it seems that you have the package Inside the start command / app path will need to be added. Jesen Also check the http-server docs to know more about the omissions -
Other things may depend on the basis of ./
That is, there can be something breakage.
should read something like this < / P>
"Start": "http-server / app --domain 0.0.0.0 --port 8000",
Comments
Post a Comment