cors
All checks were successful
Sync Consul Config / sync (push) Successful in 4s

This commit is contained in:
xiaolipro 2026-09-22 16:36:07 +08:00
parent f156204e1e
commit 7df974a59a
3 changed files with 4 additions and 7 deletions

View File

@ -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`。

View File

@ -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}",

View File

@ -1,7 +1,7 @@
{
"App": {
"CorsOrigins": [
"https://app.test.ideship.com"
"https://test.ideship.com"
]
},
"Serilog": {