Shared pages refactoring part 1

This commit is contained in:
Čarodej
2022-02-08 10:01:38 +01:00
parent 09774b1d48
commit f04c057490
25 changed files with 170 additions and 191 deletions

View File

@@ -10,29 +10,29 @@ const routesShared = [
{
name: 'Public',
path: '/share/:token/files/:id?',
component: () => import(/* webpackChunkName: "chunks/shared/files" */ '../views/FileView/Public'),
meta: {
requiresAuth: false,
},
},
{
name: 'SharedSingleFile',
path: '/share/:token/file',
component: () => import(/* webpackChunkName: "chunks/shared/single-file" */ '../views/Shared/SharedSingleFile'),
meta: {
requiresAuth: false,
},
},
{
name: 'SharedAuthentication',
path: '/share/:token/authenticate',
component: () => import(/* webpackChunkName: "chunks/shared/authenticate" */ '../views/Shared/SharedAuthentication'),
component: () => import(/* webpackChunkName: "chunks/shared/browser" */ '../views/FileView/Public'),
meta: {
requiresAuth: false,
},
},
],
},
{
name: 'SharedSingleFile',
path: '/share/:token/file',
component: () => import(/* webpackChunkName: "chunks/shared/single-file" */ '../views/SharedSingleFile'),
meta: {
requiresAuth: false,
},
},
{
name: 'SharedAuthentication',
path: '/share/:token/authenticate',
component: () => import(/* webpackChunkName: "chunks/shared/authenticate" */ '../views/SharedAuthentication'),
meta: {
requiresAuth: false,
},
},
]
export default routesShared