Skip to content

Commit

Permalink
90566f0 fix(qwik-city): fix redirects with search params (#6410)
Browse files Browse the repository at this point in the history
  • Loading branch information
octet-stream committed Jul 9, 2024
1 parent 6d67d7b commit 1f3b9cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.qwik.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@ const QwikCityProvider = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl
}
const newHref = pageData.href;
const newURL = new URL(newHref, trackUrl);
if (!isSamePathname(newURL, trackUrl)) {
if (!isSamePath(newURL, trackUrl)) {
trackUrl = newURL;
loadRoutePromise = loadRoute(qwikCity.routes, qwikCity.menus, qwikCity.cacheModules, trackUrl.pathname);
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@builder.io/qwik-city",
"description": "The meta-framework for Qwik.",
"version": "1.6.0-dev20240709154357",
"version": "1.6.0-dev20240709162332",
"bugs": "https://github.com/QwikDev/qwik/issues",
"dependencies": {
"@mdx-js/mdx": "^3.0.1",
Expand Down

0 comments on commit 1f3b9cb

Please sign in to comment.