Error updating browser Angular 2 app
Please provide us with the following information:
OS?
os: linux x64 Ubuntu 16.04
Versions.
angular-cli: 1.0.0-beta.24 node: 7.2.0 npm: 3.10.9
Hi, I created a project in angular cli, but the problem is that when updating the browser is redirected to the root of the web and I must stay in the same url route.
Does anyone know what happens?
-
My project runs in localhost/produccion.
-
then I log in and go to localhost/produccion/reports/ balance.
-
when I refresh the page it redirects to localhost/produccion again, and block the view
Thank you all!
How do you mean, updating the browser?
Going to need some more details here. Also repro steps if possible.
thanks @baruchvlz sorry i mean refresh the page
thanks @filipesilva, sorry I'm a new user, the problem is the following:
-
My project runs in localhost/produccion.
-
then I log in and go to localhost/produccion/reports/ balance.
-
when I refresh the page it redirects to localhost/produccion again, and block the view
That sounds related to your server. How are you serving the app?
It runs on NG Live Development Server on http://localhost:4200
with the commans cli ng serve
without answers
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.