Skip to content

Commit 2ca3d39

Browse files
committed
Fix 404 error on refresh
1 parent a6ebff2 commit 2ca3d39

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

public/404.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html lang="en">
33
<head>
4-
<meta http-equiv="refresh" content="0; URL=./index.html">
4+
<meta charset="UTF-8" />
5+
<title>Redirecting...</title>
6+
<script>
7+
window.location.replace(window.location.origin + window.location.pathname + window.location.search);
8+
</script>
59
</head>
610
<body>
711
</body>

0 commit comments

Comments
 (0)