Skip to content

Commit b3b5e2d

Browse files
committed
Updated templates to support hash in urls
1 parent 0e20009 commit b3b5e2d

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

dist/template.html

+6-1
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,14 @@
44
<meta charset="UTF-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7-
<meta http-equiv="refresh" content="0; url='%URL%'" />
7+
<noscript>
8+
<meta http-equiv="refresh" content="0; url='%URL%'" />
9+
</noscript>
810
<title>Redirecting...</title>
911
</head>
1012
<body>
13+
<script>
14+
window.location.replace('%URL%' + window.location.hash);
15+
</script>
1116
</body>
1217
</html>

template.html

+6-1
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,14 @@
44
<meta charset="UTF-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7-
<meta http-equiv="refresh" content="0; url='%URL%'" />
7+
<noscript>
8+
<meta http-equiv="refresh" content="0; url='%URL%'" />
9+
</noscript>
810
<title>Redirecting...</title>
911
</head>
1012
<body>
13+
<script>
14+
window.location.replace('%URL%' + window.location.hash);
15+
</script>
1116
</body>
1217
</html>

0 commit comments

Comments
 (0)