mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 08:12:15 +00:00
39 lines
1.1 KiB
JavaScript
Vendored
39 lines
1.1 KiB
JavaScript
Vendored
const routesShared = [
|
|
{
|
|
name: 'Shared',
|
|
path: '/share/:token',
|
|
component: () => import(/* webpackChunkName: "chunks/shared" */ '../views/Shared'),
|
|
meta: {
|
|
requiresAuth: false,
|
|
},
|
|
children: [
|
|
{
|
|
name: 'Public',
|
|
path: '/share/:token/files/:id?',
|
|
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
|