端口修改
This commit is contained in:
@@ -55,17 +55,17 @@ pnpm build
|
||||
```nginx
|
||||
# Platform 主应用(单点登录入口)
|
||||
location / {
|
||||
proxy_pass http://localhost:5001/;
|
||||
proxy_pass http://localhost:7001/;
|
||||
}
|
||||
|
||||
# Workcase 工单服务
|
||||
location /workcase/ {
|
||||
proxy_pass http://localhost:5003/;
|
||||
proxy_pass http://localhost:7003/;
|
||||
}
|
||||
|
||||
# Bidding 招标服务
|
||||
location /bidding/ {
|
||||
proxy_pass http://localhost:5002/;
|
||||
proxy_pass http://localhost:7002/;
|
||||
}
|
||||
|
||||
# 后端 API 统一入口
|
||||
@@ -221,12 +221,12 @@ addDynamicRoutes(workcaseViews)
|
||||
- 修改 `devConfig.sso` 为绝对URL
|
||||
```typescript
|
||||
sso: {
|
||||
platformUrl: 'http://localhost:5001',
|
||||
workcaseUrl: 'http://localhost:5003',
|
||||
biddingUrl: 'http://localhost:5002'
|
||||
platformUrl: 'http://localhost:7001',
|
||||
workcaseUrl: 'http://localhost:7003',
|
||||
biddingUrl: 'http://localhost:7002'
|
||||
}
|
||||
```
|
||||
- 直接访问 http://localhost:5001, http://localhost:5003
|
||||
- 直接访问 http://localhost:7001, http://localhost:7003
|
||||
|
||||
## 常见问题
|
||||
|
||||
|
||||
Reference in New Issue
Block a user