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

Add routing options #5

Open
bravomartin opened this issue Nov 18, 2019 · 0 comments
Open

Add routing options #5

bravomartin opened this issue Nov 18, 2019 · 0 comments
Labels

Comments

@bravomartin
Copy link
Member

bravomartin commented Nov 18, 2019

Currently when using react-router, S3 returns 404 for any page that is not index.js
This prevents google from indexing any page except the index.

We should add a routing option with an object to define which routes should return 200, using path-to-regexp.

Alternatively there should be an option that configures S3 cloudfront to return custom error page with code 200.

@runemadsen runemadsen transferred this issue from another repository Jun 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants