mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-18 11:36:44 +08:00
### What problem does this PR solve? Feat: List MCP servers #3221 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
export enum Routes {
|
||||
Login = '/login',
|
||||
Logout = '/logout',
|
||||
Home = '/home',
|
||||
Datasets = '/datasets',
|
||||
DatasetBase = '/dataset',
|
||||
@ -13,6 +14,18 @@ export enum Routes {
|
||||
Chat = '/next-chat',
|
||||
Files = '/files',
|
||||
ProfileSetting = '/profile-setting',
|
||||
Profile = '/profile',
|
||||
Mcp = '/mcp',
|
||||
Team = '/team',
|
||||
Plan = '/plan',
|
||||
Model = '/model',
|
||||
Prompt = '/prompt',
|
||||
ProfileMcp = `${ProfileSetting}${Mcp}`,
|
||||
ProfileTeam = `${ProfileSetting}${Team}`,
|
||||
ProfilePlan = `${ProfileSetting}${Plan}`,
|
||||
ProfileModel = `${ProfileSetting}${Model}`,
|
||||
ProfilePrompt = `${ProfileSetting}${Prompt}`,
|
||||
ProfileProfile = `${ProfileSetting}${Profile}`,
|
||||
DatasetTesting = '/testing',
|
||||
DatasetSetting = '/setting',
|
||||
Chunk = '/chunk',
|
||||
@ -303,27 +316,31 @@ const routes = [
|
||||
routes: [
|
||||
{
|
||||
path: Routes.ProfileSetting,
|
||||
redirect: `${Routes.ProfileSetting}/profile`,
|
||||
redirect: `${Routes.ProfileProfile}`,
|
||||
},
|
||||
{
|
||||
path: `${Routes.ProfileSetting}/profile`,
|
||||
component: `@/pages${Routes.ProfileSetting}/profile`,
|
||||
path: `${Routes.ProfileProfile}`,
|
||||
component: `@/pages${Routes.ProfileProfile}`,
|
||||
},
|
||||
{
|
||||
path: `${Routes.ProfileSetting}/team`,
|
||||
component: `@/pages${Routes.ProfileSetting}/team`,
|
||||
path: `${Routes.ProfileTeam}`,
|
||||
component: `@/pages${Routes.ProfileTeam}`,
|
||||
},
|
||||
{
|
||||
path: `${Routes.ProfileSetting}/plan`,
|
||||
component: `@/pages${Routes.ProfileSetting}/plan`,
|
||||
path: `${Routes.ProfilePlan}`,
|
||||
component: `@/pages${Routes.ProfilePlan}`,
|
||||
},
|
||||
{
|
||||
path: `${Routes.ProfileSetting}/model`,
|
||||
component: `@/pages${Routes.ProfileSetting}/model`,
|
||||
path: `${Routes.ProfileModel}`,
|
||||
component: `@/pages${Routes.ProfileModel}`,
|
||||
},
|
||||
{
|
||||
path: `${Routes.ProfileSetting}/prompt`,
|
||||
component: `@/pages${Routes.ProfileSetting}/prompt`,
|
||||
path: `${Routes.ProfilePrompt}`,
|
||||
component: `@/pages${Routes.ProfilePrompt}`,
|
||||
},
|
||||
{
|
||||
path: Routes.ProfileMcp,
|
||||
component: `@/pages${Routes.ProfileMcp}`,
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user