-
-
Notifications
You must be signed in to change notification settings - Fork 602
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
Status 404 for existing pages #1975
Comments
Thanks for reporting this @dragomano — I think this is caused because we now use Astro’s i18n API under the hood and I guess that is reporting 404s for those routes even though the exist? Definitely a weird bug given pages render fine in dev and also build fine — it’s just the status code which is being set incorrectly. I’m curious if anyone has seen this in other uses of Astro’s i18n features? 🤔 cc @ematipico |
I'm curious if this is an issue with {
defaultLocale: 'root',
locales: {
root: {
label: 'Русский',
lang: 'ru',
},
},
} Some error messages when running
|
The error you're seeing is probably related to #1986 and I'm assuming you may have opened the repro using Safari. I'm currently working on a fix for that one right now. |
Ah yup, it was Safari. Once again my testing in the worst browser for JS gets me again 😅 |
How do I get to see the error from the reproduction? It just fails (using firefox) cc @dragomano |
If you’re troubleshooting you should also update to starlight 0.24.1 as it fixed an issue related to this. But it may have not resolved the full issue. |
I've updated dependencies. It's still a problem. |
Changing |
Fixed in Starlight v0.24.2 — thanks again for reporting! |
What version of
starlight
are you using?0.24.1
What version of
astro
are you using?4.10.1
What package manager are you using?
pnpm
What operating system are you using?
Windows
What browser are you using?
Firefox
Describe the Bug
Startlight 0.23.4:

Starlight 0.24.0/0.24.1:

In both cases, the pages exist and are displayed.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-ztcekb
Participation
The text was updated successfully, but these errors were encountered: