diff --git a/README.md b/README.md index 9b7b6e4..f6f950c 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Gitea 仓保存 `idwms/*.json` → CI 用 K8s Secret 渲染密码 → `PUT` 到 | 分支 | 集群 | Namespace | 前端 CORS | |------|------|-----------|-----------| | `master` | prod(134) | `prod` | `https://ideship.com` | -| `test` | test(13) | `test` | `https://app.test.ideship.com` | +| `test` | test(13) | `test` | `https://test.ideship.com` | `test` 分支里中间件地址应为 `*.test.svc.cluster.local`;`master` 为 `*.prod.svc.cluster.local`。 diff --git a/idwms/admin.json b/idwms/admin.json index 0bd91d6..2487172 100644 --- a/idwms/admin.json +++ b/idwms/admin.json @@ -2,9 +2,6 @@ "App": { "Urls": [ "http://*:5281" - ], - "CorsOrigins": [ - "https://app.test.ideship.com" ] }, "AllowedHosts": "*", @@ -46,7 +43,7 @@ "Secret": "${WECHAT_MP_SECRET}", "Token": "${WECHAT_MP_TOKEN}", "EncodingAesKey": "", - "OAuthRedirectBase": "https://app.test.ideship.com" + "OAuthRedirectBase": "https://test.ideship.com" } }, "FileStorage": { @@ -67,7 +64,7 @@ "TimeoutSeconds": 30 }, "PlatformShop": { - "FrontendBaseUrl": "https://app.test.ideship.com", + "FrontendBaseUrl": "https://test.ideship.com", "Lazada": { "AppKey": "${LAZADA_APP_KEY}", "AppSecret": "${LAZADA_APP_SECRET}", diff --git a/idwms/common.json b/idwms/common.json index e5a61f1..74b7fd7 100644 --- a/idwms/common.json +++ b/idwms/common.json @@ -1,7 +1,7 @@ { "App": { "CorsOrigins": [ - "https://app.test.ideship.com" + "https://test.ideship.com" ] }, "Serilog": {