mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-23 23:16:58 +08:00
### What problem does this PR solve? Feature: Added data source functionality ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -27,6 +27,8 @@ export enum Routes {
|
||||
System = '/system',
|
||||
Model = '/model',
|
||||
Prompt = '/prompt',
|
||||
DataSource = '/data-source',
|
||||
DataSourceDetailPage = '/data-source-detail-page',
|
||||
ProfileMcp = `${ProfileSetting}${Mcp}`,
|
||||
ProfileTeam = `${ProfileSetting}${Team}`,
|
||||
ProfilePlan = `${ProfileSetting}${Plan}`,
|
||||
@ -400,9 +402,19 @@ const routes = [
|
||||
path: `/user-setting${Routes.Mcp}`,
|
||||
component: `@/pages${Routes.ProfileMcp}`,
|
||||
},
|
||||
{
|
||||
path: `/user-setting${Routes.DataSource}`,
|
||||
component: `@/pages/user-setting${Routes.DataSource}`,
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
{
|
||||
path: `/user-setting${Routes.DataSource}${Routes.DataSourceDetailPage}`,
|
||||
component: `@/pages/user-setting${Routes.DataSource}${Routes.DataSourceDetailPage}`,
|
||||
layout: false,
|
||||
},
|
||||
|
||||
// Admin routes
|
||||
{
|
||||
path: Routes.Admin,
|
||||
|
||||
Reference in New Issue
Block a user