Fix redirect (2) (oops)

This commit is contained in:
hppeng 2022-05-12 05:54:12 -07:00
parent 190e956ea1
commit a6898db57b

View file

@ -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>