fix cors
All checks were successful
Build and Deploy Backend / build-and-deploy (push) Successful in 1m36s

This commit is contained in:
zyc 2026-01-29 16:19:32 +08:00
parent d66b4ab137
commit e0c20cf4d1

View File

@ -60,6 +60,14 @@ spec:
value: "LTAI5tBGAkR2rra2prTAX9yc"
- name: ALIYUN_LOG_ACCESS_KEY_SECRET
value: "U1z3d0p5saPRD5sCxVooJYSjxSAmKB"
# Security & CORS
- name: DJANGO_ALLOWED_HOSTS
value: "*"
- name: CORS_ALLOWED_ORIGINS
value: "https://qiyuan-rtc-web.airlabs.art,https://qiyuan-rtc-dev-web.airlabs.art"
- name: CSRF_TRUSTED_ORIGINS
value: "https://qiyuan-rtc-web.airlabs.art,https://qiyuan-rtc-dev-web.airlabs.art,https://qiyuan-rtc-api.airlabs.art"
resources:
requests:
memory: "256Mi"