diff --git a/react-ui/config/config.ts b/react-ui/config/config.ts index d0b27bd1..20c738a1 100644 --- a/react-ui/config/config.ts +++ b/react-ui/config/config.ts @@ -6,8 +6,6 @@ import routes from './routes'; const { REACT_APP_ENV = 'dev' } = process.env; -const huoshiBaseUrl = 'https://192.168.20.156:30016'; - export default defineConfig({ /** * @name 开启 hash 模式 @@ -181,25 +179,25 @@ export default defineConfig({ { name: 'flint-data', // 数据服务微应用 // entry: 'http://localhost:8081', // 开发环境地址 - entry: `${huoshiBaseUrl}/flint-data/`, // 生产环境地址 + entry: '/flint-data/', // 生产环境地址 activeRule: '/flint-data', // 激活规则 }, { name: 'flint-bml', // 训练模块微应用 // entry: 'http://localhost:8082', - entry: `${huoshiBaseUrl}/flint-bml/`, - activeRule: '/pipeline/flint-bml', + entry: '/flint-bml/', + activeRule: '/training/flint-bml', }, { name: 'flint-console', // 集群管理 // entry: 'http://localhost:8083', - entry: `${huoshiBaseUrl}/flint-console/`, - activeRule: '/dataset/flint-console', + entry: '/flint-console/', + activeRule: '/flint-console', }, { name: 'flint-service', // 服务模块微应用 // entry: 'http://localhost:8085', - entry: `${huoshiBaseUrl}/flint-service/`, + entry: '/flint-service/', activeRule: '/dataset/flint-service', }, ]