mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-09 13:55:01 +02:00
Add support for custom base URL - resolve #114
This commit is contained in:
1
resources/js/routes.js
vendored
1
resources/js/routes.js
vendored
@ -31,6 +31,7 @@ import About from './views/About'
|
||||
|
||||
const router = new Router({
|
||||
mode: 'history',
|
||||
base: window.appConfig.subdirectory ? window.appConfig.subdirectory : '/',
|
||||
routes: [
|
||||
{ path: '/start', name: 'start', component: Start, meta: { requiresAuth: true }, props: true },
|
||||
{ path: '/capture', name: 'capture', component: Capture, meta: { requiresAuth: true }, props: true },
|
||||
|
Reference in New Issue
Block a user