diff --git a/apps/designer/.env.development b/apps/designer/.env.development index 5b8fe7d..f08373b 100644 --- a/apps/designer/.env.development +++ b/apps/designer/.env.development @@ -5,8 +5,8 @@ VITE_NODE_ENV = 'development' VITE_BASE_URL = / VITE_PORT = 10011 -VITE_BASE_API_URL = 'https://custom-chart-pre-api.shiyue.com/' -# VITE_BASE_API_URL = 'https://custom-chart-api.shiyuegame.com/' +# VITE_BASE_API_URL = 'https://custom-chart-pre-api.shiyue.com/' +VITE_BASE_API_URL = 'https://custom-chart-api.shiyuegame.com/' VITE_DEBUG_MODE = true diff --git a/apps/platform/src/router/routes/modules/application.ts b/apps/platform/src/router/routes/modules/application.ts index 4e7ab4b..efcf56b 100644 --- a/apps/platform/src/router/routes/modules/application.ts +++ b/apps/platform/src/router/routes/modules/application.ts @@ -5,9 +5,6 @@ import WujieVueRendererAdapter from '@sy/wujie-vue3-renderer-adapter'; import { LOW_CODE_PROJECT_ID, VITE_RENDERER_URL } from '#/constants'; import { router } from '#/router'; -// 微前端路由 -const moduleName = 'application'; - const routes: Array = [ { path: '/application', @@ -33,6 +30,7 @@ const routes: Array = [ fileId: 'b91n1y9yr', projectId: LOW_CODE_PROJECT_ID, router, + getRouter: () => router, route, degrade: false, height: '100%',