Skip to content

Commit

Permalink
Test OK, back to actual default redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
utensil committed Nov 6, 2024
1 parent 0d92940 commit 4b7576f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
const redirectConfig = [
// {regex: /^\/example$/, redirect: "/example.html"},
/* {regex: /\/.*\.xml$/, redirect: (path) => path.replace('.xml', '.html')} */
{regex: /.*/, redirect: "/lean4/index-non-exist.html"}
{regex: /.*/, redirect: "/lean4/index.html"}
];

function redirectToPage() {
Expand Down

0 comments on commit 4b7576f

Please sign in to comment.