chore: trim unused oauth login entrypoints
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user