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

i18n: redirects from any other language to default language are broken on vercel #11

Closed
rawr51919 opened this issue Feb 17, 2024 · 1 comment
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@rawr51919
Copy link
Owner

rawr51919 commented Feb 17, 2024

Upstream issue at zankhq/astro-starter#23

It appears that, in production on Vercel, the redirect from /en/ to / is broken (due to english being the default locale set in this case, it may be happening for any locale that's set as default). Astro and Vercel make this quite the pain to fix (especially since our URLs are being utilized with trailing slashes).

@rawr51919 rawr51919 added bug Something isn't working help wanted Extra attention is needed labels Feb 17, 2024
@rawr51919 rawr51919 self-assigned this Feb 17, 2024
@rawr51919 rawr51919 changed the title i18n: redirects from any other language to english are broken on vercel i18n: redirects from any other language to default language are broken on vercel Feb 17, 2024
@rawr51919
Copy link
Owner Author

it appears using manual redirects to every page instead of wildcards will fix this issue, however that isn't ideal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant