404 - File or directory not found in hosted angular application.

preview_player
Показать описание
I am using angular application; I have no problem in running on localhost when I hosted my application on server. When I clicked the employee button it loads the employee details. However I refreshed the same page, I gives me 404 file or directory not found error.
Рекомендации по теме
Комментарии
Автор

Thanks for the good training, this was my problem and I always solved it through the configuration of the server application. Your method is much better and more practical.

mohamadsmohamadi
Автор

Struggling for a solution for days. Thank you so much

gum
Автор

I fixed my problem, thanks a lot. I spent my time, thanks again

ademsahin
Автор

Thank you so much .. I was so worried because of this issue .. Solved it using your method 😍

engineersexploring
Автор

This fix has solved my problem Thanks alot

ahmedelgedawy
Автор

It adds a "#" into the route but it works fine.

Автор

but in link # is not clean i want clean link like other website

LegendsOfRoyale
Автор

wrong video not Server configuration FIxed

mdqzaki
Автор

Thanks, with angular 16 I changed app.config.ts, it works for me 😁👍

oquiala