Skip to content

Redirect to index.html #14

@amanokerim

Description

@amanokerim

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions