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(cloudflare-pages): remove .html extension from _routes.json #2498

Merged
merged 2 commits into from
Jun 7, 2024

Conversation

atinux
Copy link
Contributor

@atinux atinux commented Jun 7, 2024

I noticed that pre-rendering was not working on Cloudflare Pages as it redirects /static/index.html to /static and not take into account the pre-rendered file.

@pi0 pi0 changed the title fix(cloudflare): remove html extension for pre-rendering fix(cloudflare-pages): remove .html extension from _routes.json Jun 7, 2024
@pi0 pi0 merged commit 79b85fe into main Jun 7, 2024
5 checks passed
@pi0 pi0 deleted the fix/cf-pages-prerendering branch June 7, 2024 13:46
@pi0 pi0 mentioned this pull request Jun 13, 2024
@pi0 pi0 mentioned this pull request Jun 27, 2024
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.

2 participants