move profile to path param

ref #15
This commit is contained in:
2021-03-25 19:49:35 +01:00
parent 79d8545ed6
commit a39cf75c7f
3 changed files with 12 additions and 8 deletions

View File

@@ -37,7 +37,7 @@ if (typeof config !== 'undefined') {
{ path: '/privacy', component: Privacy },
{ path: '/register', component: Register },
{ path: '/register/:token', component: Register, props: true },
{ path: '/profile', component: Profile }
{ path: '/profile/:token', component: Profile, props: true }
];
}
}