-
Notifications
You must be signed in to change notification settings - Fork 51
en external problem about how set angular2 host as “localhost or a fixed ip #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@keryhu angular2-app/config/webpack.dev.js Line 11 in 8f81bd8
You can access it with something like http://yourhost:3001/main.js . |
@akirasosa yes, |
@keryhu Then, all you have to do is just configuring boot-app to point the location js files hosted. P.S. In develop mode, you may want to configure the host of webpack-dev-server as |
Ah,yes, webpack-dev-server as 0.0.0.0 that 's what I urgently needed ! Thanks very much ! |
hello,
I would like to ask a question , if i build a spring-boot angular2 in docker .
I can set the host in spring-boot server , as "localhost /192.168.1.110",
How set it in angular2 , that can be easily tested locally or 192.168.1.110 env?
The text was updated successfully, but these errors were encountered: