Skip to content

Commit

Permalink
Create 404.html
Browse files Browse the repository at this point in the history
  • Loading branch information
NeftaliYagua authored Jan 10, 2025
1 parent e9c4a56 commit 23f04c6
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>404 - Page Not Found</title>
<script>
// Redirigir al index.html con la ruta original en la URL.
var redirectTo = '/index.html' + location.search + location.hash;
window.location.replace(redirectTo);
</script>
</head>
<body>
<h1>404 - Page Not Found</h1>
<p>Redirecting...</p>
</body>
</html>

0 comments on commit 23f04c6

Please sign in to comment.