We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 197575d commit 7a32d49Copy full SHA for 7a32d49
public/404.html
@@ -2,12 +2,16 @@
2
<html lang="en">
3
<head>
4
<meta charset="UTF-8">
5
- <meta http-equiv="refresh" content="0; url=/#/">
+ <meta http-equiv="refresh" content="0; url=/#/" />
6
<title>Redirecting...</title>
7
</head>
8
<body>
9
<script>
10
- window.location.replace("/#/" + window.location.pathname.substring(1));
+ var path = window.location.pathname + window.location.search + window.location.hash;
11
+ if (path.startsWith("/")) {
12
+ path = path.substring(1); // Remove leading "/"
13
+ }
14
+ window.location.replace("/#/" + path);
15
</script>
16
</body>
17
</html>
0 commit comments