Skip to content

Commit fbd3677

Browse files
committed
Fix JS redirect URL
1 parent f96b1ef commit fbd3677

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_ext/redirects.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
<script>
2626
var redirect_url = "$redirect_url";
2727
if (window.location.search) {
28-
redirect_url += "?" + window.location.search;
28+
redirect_url += window.location.search;
2929
}
3030
if (window.location.hash) {
31-
redirect_url += "#" + window.location.hash;
31+
redirect_url += window.location.hash;
3232
}
3333
window.location.href = redirect_url;
3434
</script>

0 commit comments

Comments
 (0)