Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
dilaouid committed Jan 1, 2024
1 parent cb9cf05 commit feef021
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
14 changes: 14 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<script>
sessionStorage.redirect = location.href;
location.href = '/';
</script>
</body>
</html>
9 changes: 9 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,14 @@
<body class="bg-black">
<div id="root"></div>

<script>
(function() {
if (sessionStorage.redirect) {
var redirect = sessionStorage.redirect;
delete sessionStorage.redirect;
window.location = redirect;
}
})();
</script>
</body>
</html>

0 comments on commit feef021

Please sign in to comment.