Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
SRamoras committed Dec 7, 2024
1 parent c2838ab commit 2bc72c2
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions 404.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
<!-- frontend/public/404.html -->
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0; url=./index.html" />
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script>
// Fallback para navegadores que não suportam a meta tag
window.location.href = './index.html';
// Redireciona para o index.html enquanto preserva o caminho original como hash
var path = window.location.pathname + window.location.search + window.location.hash;
window.location.replace('/storytime/index.html#' + path);
</script>
</head>
<body></body>
</head>
<body>
</body>
</html>

0 comments on commit 2bc72c2

Please sign in to comment.