-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
fix(i18n): pass build.format when computing the redirect
#9739
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
Conversation
🦋 Changeset detectedLatest commit: 7375ebf The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
build.format when computing the directbuild.format when computing the redirect
|
Could you elaborate on how |
|
Can a test be added for this? Does it fix an existing known bug? |
Co-authored-by: Florian Lefebvre <[email protected]>
https://docs.astro.build/en/reference/configuration-reference/#buildformat |
Yeah, as you can see there's a regression that actually makes sense and needs to be updated. I'll add more test cases |
Changes
This PR adds
build.formatto the SSR Manifest.This information is eventually needed by the i18n middleware to correctly compute the redirect.
Testing
Existing tests should pass
Docs
N/A