Skip to content

Commit 16acb21

Browse files
committed
Found the issue
1 parent 47d16f7 commit 16acb21

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/router.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@ const routes = [
1717
},
1818
// Add a component to redirect people from the old wod5e-docs site to the new one
1919
{
20-
name: `${baseTitle} / 404`,
21-
path: '/wod5e-docs/:catchAll(.*)*',
22-
component: OverviewComponent
20+
path: '/wod5e-docs/',
21+
redirect: '/'
2322
},
2423
{
2524
name: `${baseTitle} / 404`,

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module.exports = (env, argv) => {
1818
output: {
1919
path: dist,
2020
filename: '[name]-[contenthash].js',
21-
publicPath: 'auto'
21+
publicPath: '/'
2222
},
2323

2424
resolve: {

0 commit comments

Comments
 (0)