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 index.html and all non-matched routes to the homepage #35

Open
Ameobea opened this issue Jul 13, 2018 · 1 comment
Open

Redirect index.html and all non-matched routes to the homepage #35

Ameobea opened this issue Jul 13, 2018 · 1 comment
Assignees

Comments

@Ameobea
Copy link
Owner

Ameobea commented Jul 13, 2018

No description provided.

@Ameobea Ameobea self-assigned this Jul 13, 2018
@terose73
Copy link

terose73 commented Jun 6, 2020

If your using react-router, you can have a "/" route endpoint with the exact keyword at the top, and another "/" route endpoint at the bottom without exact which will catch all non-matched routes

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