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

Server Island fails when using i18 and prefixDefaultLocale set to true #12817

Open
1 task
nima-hakimi opened this issue Dec 23, 2024 · 0 comments
Open
1 task
Labels
needs triage Issue needs to be triaged

Comments

@nima-hakimi
Copy link

Astro Info

Astro                    v5.1.1
Node                     v22.5.1
System                   macOS (arm64)
Package Manager          npm
Output                   server
Adapter                  @astrojs/node

If this issue only occurs in one browser, which browser is a problem?

Describe the Bug

Fetching the Server Island fails when using i18 and prefixDefaultLocale set to true. It fails with 404 when I use the following file structure: src/pages/[locale]/index.astro

What's the expected result?

The expected result would be to fetch the Server Island correctly.

Link to Minimal Reproducible Example

https://stackblitz.com/edit/github-fmzsdm7p-mklde2ku?file=astro.config.mjs

Participation

  • I am willing to submit a pull request for this issue.
@github-actions github-actions bot added the needs triage Issue needs to be triaged label Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage Issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

1 participant