Skip to content

Commit

Permalink
fix: issue with 404 redirecting to 404 page making reload just reload…
Browse files Browse the repository at this point in the history
… 404 error
  • Loading branch information
akinsey committed Feb 7, 2022
1 parent 3a6d858 commit aaf808a
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,13 +169,7 @@ const routes = [
meta: { requiresAuth: false, bodyClass: 'about' }
},
{
path: '/:catchAll(.*)',
name: 'NotFoundCatchAll',
component: NotFound,
meta: { requiresAuth: false, bodyClass: 'not-found' }
},
{
path: '/404',
path: '/:pathMatch(.*)*',
name: 'NotFound',
component: NotFound,
meta: { requiresAuth: false, bodyClass: 'not-found' }
Expand Down

0 comments on commit aaf808a

Please sign in to comment.