端口修改
This commit is contained in:
@@ -34,7 +34,7 @@ export default defineConfig(({ mode }) => ({
|
||||
},
|
||||
|
||||
server: {
|
||||
port: 5002,
|
||||
port: 7002,
|
||||
host: true,
|
||||
cors: true,
|
||||
open: '/bidding/', // 开发时自动打开到 /bidding/ 路径
|
||||
@@ -46,7 +46,7 @@ export default defineConfig(({ mode }) => ({
|
||||
},
|
||||
// 代理共享模块请求到 shared 服务
|
||||
'/shared': {
|
||||
target: 'http://localhost:5000',
|
||||
target: 'http://localhost:7000',
|
||||
changeOrigin: true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user