Server Islands does not seem to work with basepath #11703
Labels
- P3: minor bug
An edge case that only affects very specific usage (priority)
feat: server islands
Related to Server Islands (scope)
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
Server Islands does not seem to work when base is specified in the astro config, i.e
The fetch to get the Server Island returns a 404 with the base missing a trailing slash. This happens both when I start the app with:
npm run dev
npm run preview
In the example above it tries to get the Server Island from: http://localhost:4321/path_server-islands/MyComponent
What's the expected result?
To fetch the Server Island correctly.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-4tmst8-5duvgl?file=astro.config.mjs
Participation
The text was updated successfully, but these errors were encountered: