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

adapter-netlify: Broken /_data.json redirect using split routes #8999

Closed
adamjkb opened this issue Feb 11, 2023 · 0 comments · Fixed by #9006
Closed

adapter-netlify: Broken /_data.json redirect using split routes #8999

adamjkb opened this issue Feb 11, 2023 · 0 comments · Fixed by #9006

Comments

@adamjkb
Copy link
Contributor

adamjkb commented Feb 11, 2023

Describe the bug

Netlify adapter produces the following redirects when split routes are set to true:

/ /.netlify/functions/sveltekit-index 200
//__data.json /.netlify/functions/sveltekit-index 200

The home page is initially render but subsequent client side navigation to / will fail and throws 404.

Reproduction

[]

Logs

No response

System Info

N/A

Severity

serious, but I can work around it

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants