mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-08 21:44:32 +02:00
Replace NoFound view by a generic error view
This commit is contained in:
9
resources/js/app.js
vendored
9
resources/js/app.js
vendored
@ -9,7 +9,7 @@ import Register from './views/Register'
|
||||
import Accounts from './views/Accounts'
|
||||
import Create from './views/Create'
|
||||
import Edit from './views/Edit'
|
||||
import NotFound from './views/NotFound'
|
||||
import NotFound from './views/Error'
|
||||
|
||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||
import { faPlus, faQrcode, faImage, faTrash, faEdit, faCheck, faLock, faLockOpen } from '@fortawesome/free-solid-svg-icons'
|
||||
@ -51,7 +51,12 @@ const router = new VueRouter({
|
||||
{
|
||||
path: '/404',
|
||||
name: '404',
|
||||
component: NotFound,
|
||||
component: NotFound
|
||||
},
|
||||
{
|
||||
path: '/error',
|
||||
name: 'GenericError',
|
||||
component: NotFound
|
||||
},
|
||||
],
|
||||
});
|
||||
|
Reference in New Issue
Block a user