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 Islands - Handle base + trailingSlash ignore #11712

Merged
merged 2 commits into from
Aug 15, 2024

Conversation

matthewp
Copy link
Contributor

Changes

Testing

  • Test added

Docs

N/A, bug fix

Copy link

changeset-bot bot commented Aug 14, 2024

🦋 Changeset detected

Latest commit: 1162361

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

@github-actions github-actions bot added the pkg: astro Related to the core `astro` package (scope) label Aug 14, 2024
@sasoria
Copy link
Contributor

sasoria commented Aug 14, 2024

This looks great. I've added the code changes in this PR to my node_modules and tested the following cases with and without base:

  • trailingSlash: "ignore"
  • trailingSlash: "always"
  • trailingSlash: "never"

ServerIslandUrl is correct in all the cases and the Server Island is fetched correctly.

@ematipico ematipico merged commit 791d809 into main Aug 15, 2024
13 checks passed
@ematipico ematipico deleted the si-trailing-slash-base branch August 15, 2024 08:34
@astrobot-houston astrobot-houston mentioned this pull request Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: astro Related to the core `astro` package (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Server Islands does not seem to work with basepath
3 participants