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.

Enter image details here

should read something like this < / P>

"Start": "http-server / app --domain 0.0.0.0 --port 8000",


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -