Files
Website/404.html
2025-09-05 23:57:40 +09:30

24 lines
557 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Redirecting...</title>
<script>
// Get the current path, remove leading slash
const path = window.location.pathname.slice(1);
// Redirect to /#path if theres a path
if (path) {
window.location.replace('/#' + path);
} else {
// fallback to home
window.location.replace('/');
}
</script>
</head>
<body>
<p>Redirecting...</p>
<p>If you are not redirected automatically, <a id="fallback" href="/">click here</a>.</p>
</body>
</html>