Skip to content

Commit

Permalink
fix: redirection error
Browse files Browse the repository at this point in the history
  • Loading branch information
Rustic-Citrus committed Jul 10, 2024
1 parent 4f35caf commit 4368c58
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions public/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,6 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="refresh" content="0; url=./index.html" />
<script type="text/javascript">
const pathname = window.location.pathname;
const newUrl =
window.location.protocol +
"//" +
window.location.host +
pathname;
window.location.replace(newUrl);
</script>
<title>404 Page Not Found</title>
</head>
<body></body>
Expand Down

0 comments on commit 4368c58

Please sign in to comment.