-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(qwik-city): redirect route loads when sane (#6740)
When using capacitor, the "browser" is on capacitor://localhost or http://localhost, and when route loading is proxied, the return URL origin is not the same as the current origin. This prompted qwik-city to reload the page. Now, this is only done when the request was actually redirected.
- Loading branch information
Showing
2 changed files
with
16 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@builder.io/qwik-city': patch | ||
--- | ||
|
||
qwik-city is now more careful about redirects after requesting routeLoader data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters