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

Fix nginx index option url routing #582

Merged
merged 1 commit into from
Aug 29, 2023
Merged

Conversation

fliiiix
Copy link
Member

@fliiiix fliiiix commented Aug 27, 2023

I think we should use the index instead of just assuming /index.html.
@reglim or was there a good reason to not use index?

@reglim
Copy link
Contributor

reglim commented Aug 29, 2023

Yes, I think the reason was that we need to fall back to index.html because routing is handled by react-router. See this post. But if it works, why not.

@reglim
Copy link
Contributor

reglim commented Aug 29, 2023

I tested it and it worked just as well, so I think we can merge. 👍

@fliiiix fliiiix merged commit 562feb9 into main Aug 29, 2023
@fliiiix fliiiix deleted the bugfix/index-nginx-config branch August 29, 2023 07:38
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

Successfully merging this pull request may close these issues.

3 participants