端口修改

This commit is contained in:
2025-12-15 14:50:29 +08:00
parent 302173f623
commit 3767150fd6
16 changed files with 52 additions and 52 deletions

View File

@@ -26,7 +26,7 @@ export default defineConfig(({ mode }) => ({
shared: {
type: 'module',
name: 'shared',
entry: 'http://localhost:5000/remoteEntry.js'
entry: 'http://localhost:7000/remoteEntry.js'
}
},
shared: {
@@ -51,7 +51,7 @@ export default defineConfig(({ mode }) => ({
},
server: {
port: 5003,
port: 7003,
host: true,
cors: true,
open: '/workcase/', // 开发时自动打开到 /workcase/ 路径
@@ -63,7 +63,7 @@ export default defineConfig(({ mode }) => ({
},
// 代理共享模块请求到 shared 服务
'/shared': {
target: 'http://localhost:5000',
target: 'http://localhost:7000',
changeOrigin: true
}
}