Skip to content

Commit

Permalink
add query and hash to every route in web-js
Browse files Browse the repository at this point in the history
  • Loading branch information
aehnh committed Oct 29, 2024
1 parent 1c83d63 commit 00ebc72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playground/web-js/src/scripts/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async function loadPage() {
// initialBlock: 'signup-init',
});
} else {
history.replaceState(null, '', `/${projectId}`);
history.replaceState(null, '', `/${projectId}${window.location.search}${window.location.hash}`);
loadHomeDOM();

if (!Corbado.user) {
Expand Down

0 comments on commit 00ebc72

Please sign in to comment.