Skip to content

Commit

Permalink
One last thing; a GitHub Pages 404 error fallback
Browse files Browse the repository at this point in the history
Thanks @okaziya! ✨
  • Loading branch information
mblomdahl authored Dec 4, 2024
1 parent 355e97f commit 0f1537f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions public/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<script>
const redirect = window.location.pathname.replace('/cv/', '/cv/#404-catch-all/');
window.location.replace(redirect);
</script>

0 comments on commit 0f1537f

Please sign in to comment.