Skip to content

Commit

Permalink
auto:update
Browse files Browse the repository at this point in the history
  • Loading branch information
bydesign21 committed Feb 4, 2024
1 parent 7f72a7c commit fd902e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
delete sessionStorage.redirect;
if (redirect && redirect != location.href) {
history.replaceState(null, null, redirect);
// redirect to the original page
window.location.href = redirect;
console.log("404 redirecting", redirect);
}
})();
</script>
Expand Down

0 comments on commit fd902e1

Please sign in to comment.