firebase / firebase/apphosting-adapters
Angular Universal: The requested URL was not found on this server.
- Dominant language
- TypeScript
- Stars
- 478
- Forks
- 1.5k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 2
Description
Hello. First of all, I'd like to say thank you for this feature. I'm pretty excited to use it.
The issue I'm facing is the following: accessing any route that is not the root by either using the address bar or reloading the page throws a 404 error.
After doing some dinning, I found it this problem is well documented [here](https://www.tektutorialshub.com/angular/the-requested-url-was-not-found-on-this-server-error-in-angular/) and [here](https://stackoverflow.com/questions/63376462/angular-return-url-error-the-requested-url-was-not-found-on-this-server). However, both of those solutions seem to apply for apache servers only.
In both solutions, they pretty much force the server to always render index.html regardless of the route.
How can I implement something like that for firebase hosting?
Contributor guide
Assessment
This issue has not been assessed yet.