Skip to content
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

Redirect to index.html #14

Open
amanokerim opened this issue Jul 28, 2022 · 1 comment
Open

Redirect to index.html #14

amanokerim opened this issue Jul 28, 2022 · 1 comment

Comments

@amanokerim
Copy link

I use a named routing in my project. If I navigate to the Stacks page, the URL becomes localhost:123/stacks and so on. When I refresh the page locally, the Stacks page opened up. But after deploying to Heroku, after refreshing on stacks page, I get only "Not Found" text.

I think Heroku should redirect all routes to the index.html file.

I found a solution for the Firebase, but can't find one for Heroku:
https://stackoverflow.com/a/51236284/1419756

Thank you!

@alexiadorneles
Copy link

I am having the same issue in my project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants