Skip to content

Commit

Permalink
Create 404.html
Browse files Browse the repository at this point in the history
  • Loading branch information
yhs0602 committed Aug 6, 2024
1 parent 99408f6 commit b47a28e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<script>
window.onload = () => {
let currentURL = window.location.href;
let newURL = currentURL.replace(/craftground/gi, 'CraftGround');
if (currentURL != newURL) {
location.replace(newURL);
}
};
</script>

0 comments on commit b47a28e

Please sign in to comment.