Fix redirect for index.html
This commit is contained in:
parent
757a6aab35
commit
190e956ea1
1 changed files with 7 additions and 1 deletions
|
@ -1,4 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<meta http-equiv="refresh" content="0; URL=./builder" />
|
||||
<body>JS not enabled :(</body>
|
||||
<script type="text/javascript">
|
||||
let getUrl = window.location;
|
||||
let baseUrl = getUrl .protocol + "//" + getUrl.host + "/" + getUrl.pathname.split('/')[1];
|
||||
let hash = window.location.hash;
|
||||
window.location.href = baseUrl + "builder/" + hash;
|
||||
</script>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue