samedi 1 juillet 2017

Angular 2/4 site and direct linking from browser to page?

tell me please.

I make a site on Angular 2/4. Accordingly, there is routing. In the browser when I navigate through the links according to mysite.com/dashboard, the corresponding content is displayed, everything is fine.

But if I directly enter this address in the browser, I get 404. It's logical, because on the backend I have only one route in nginx.

How is this problem solved, and is it possible to solve it? How in this case to share a link to a certain page of the site?

Thanks.




Aucun commentaire:

Enregistrer un commentaire