Skip to content

Commit d858a12

Browse files
Create 404_js
1 parent 591aa38 commit d858a12

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/404_js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
(((route;404.js)))
2+
window.onload=()=>{
3+
let misspell=(((misspell)));
4+
if (Object.keys(misspell).contains(window.location.path)) {
5+
alert("Did you mean "+misspell[window.location.path]+"?");
6+
}
7+
}

0 commit comments

Comments
 (0)