Skip to content

Commit 6a888ef

Browse files
committed
Potential fix for routing from the old site to the new site
1 parent 77fcc90 commit 6a888ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/router.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ const routes = [
1717
},
1818
// Add a component to redirect people from the old wod5e-docs site to the new one
1919
{
20-
path: '/wod5e-docs/:catchAll(.*)*',
20+
path: '/wod5e-docs/',
2121
beforeEnter (to, from, next) {
2222
// Stop Vue Router from loading the page
23-
window.location.href = '/' // Redirect back to main page
23+
window.location.href = '/' // Redirect back to the base page
2424
}
2525
},
2626
{

0 commit comments

Comments
 (0)