chore: trim unused oauth login entrypoints

This commit is contained in:
2026-06-12 13:16:10 +08:00
parent 3533283c9e
commit 6d3130fa6f
5 changed files with 35 additions and 425 deletions
-1
View File
@@ -128,7 +128,6 @@ async function generateAccess(options: GenerateMenuAndRoutesOptions) {
'../views/_core/announcement/list.vue',
'../views/_core/account-settings/index.vue',
'../views/_core/authentication/login.vue',
'../views/_core/authentication/oauth-callback.vue',
'../views/_core/fallback/**/*.vue',
'../views/_core/file-preview/index.vue',
'../views/_core/menu/index.vue',
@@ -52,17 +52,6 @@ const coreRoutes: RouteRecordRaw[] = [
},
],
},
{
name: 'OAuthCallback',
path: '/oauth/:provider/callback',
component: () => import('#/views/_core/authentication/oauth-callback.vue'),
meta: {
hideInBreadcrumb: true,
hideInMenu: true,
hideInTab: true,
title: 'OAuth Callback',
},
},
{
name: 'FilePreview',
path: '/file-preview/:id',