Skip to content

Commit

Permalink
コントロールパネルをログイン必須に
Browse files Browse the repository at this point in the history
  • Loading branch information
nanasina8 committed Dec 22, 2024
1 parent 266b291 commit ff7a478
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/frontend/src/router/definition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@ const routes: RouteDef[] = [{
component: iAmModerator ? page(() => import('@/pages/admin-file.vue')) : page(() => import('@/pages/not-found.vue')),
}, {
path: '/admin',
loginRequired: true,
// component: iAmModerator ? page(() => import('@/pages/admin/index.vue')) : page(() => import('@/pages/not-found.vue')),
component: page(() => import('@/pages/admin/index.vue')),
children: [{
Expand Down

0 comments on commit ff7a478

Please sign in to comment.