Fix routes for subfolder installation

This commit is contained in:
Bubka 2020-01-06 10:59:23 +01:00
parent 5494877822
commit 7611f9b61c

10
resources/js/app.js vendored
View File

@ -22,27 +22,27 @@ const router = new VueRouter({
mode: 'history',
routes: [
{
path: '/',
path: './',
name: 'accounts',
component: Accounts
},
{
path: '/login',
path: './login',
name: 'login',
component: Login,
},
{
path: '/register',
path: './register',
name: 'register',
component: Register,
},
{
path: '/create',
path: './create',
name: 'create',
component: Create,
},
{
path: '/edit/:twofaccountId',
path: './edit/:twofaccountId',
name: 'edit',
component: Edit,
},