Fix redirect (2) (oops)
This commit is contained in:
parent
190e956ea1
commit
a6898db57b
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
<body>JS not enabled :(</body>
|
<body>JS not enabled :(</body>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
let getUrl = window.location;
|
let getUrl = window.location;
|
||||||
let baseUrl = getUrl .protocol + "//" + getUrl.host + "/" + getUrl.pathname.split('/')[1];
|
let baseUrl = getUrl .protocol + "//" + getUrl.host + "/";
|
||||||
let hash = window.location.hash;
|
let hash = window.location.hash;
|
||||||
window.location.href = baseUrl + "builder/" + hash;
|
window.location.href = baseUrl + "builder/" + hash;
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue