Skip to content

Conversation

@termermc
Copy link
Contributor

What is it?

  • Bug

Description

Fixes #8093

Short description: SPA routing is broken if you visit an SSG site from an origin other than the one specified in the adapter's vite.config.ts.

Checklist

  • My code follows the developer guidelines of this project
  • I performed a self-review of my own code
  • I added a changeset with pnpm change
  • I added new tests to cover the fix / functionality

I am not sure if this needs a test. The routeInternal value seems to only be used in the context of routing.

@termermc termermc requested a review from a team as a code owner October 28, 2025 19:09
@changeset-bot
Copy link

changeset-bot bot commented Oct 28, 2025

🦋 Changeset detected

Latest commit: b1b63f1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@builder.io/qwik-city Patch
eslint-plugin-qwik Patch
@builder.io/qwik Patch
create-qwik Patch
@builder.io/qwik-react Patch

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

Copy link
Member

@wmertens wmertens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wmertens wmertens enabled auto-merge October 28, 2025 19:31
@github-actions
Copy link
Contributor

github-actions bot commented Oct 28, 2025

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
qwik-docs ✅ Ready (View Log) Visit Preview b1b63f1

@termermc
Copy link
Contributor Author

Are the tests broken, or is there something with my changes that caused problems?

Copy link
Member

@gioboa gioboa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your help @termermc 🙏

@termermc
Copy link
Contributor Author

Thanks for your help @termermc 🙏

Very happy to help. Thanks for taking the time to review!

@wmertens wmertens merged commit f263433 into QwikDev:main Oct 29, 2025
31 of 34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[🐞] [v1 & v2] SPA routing is broken unless origin matches value in in vite.config

3 participants