fix(k8s): CORS_ORIGINS 使用 JSON array 格式

pydantic-settings 對 list[str] 欄位要求 JSON 格式

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
OG T
2026-03-22 19:26:26 +08:00
parent d4fbdb0331
commit 721cfd1e3b

View File

@@ -21,7 +21,8 @@ data:
# 應用配置
LOG_LEVEL: "INFO"
CORS_ORIGINS: "https://awoooi.wooo.work"
# JSON array 格式 (pydantic-settings 要求)
CORS_ORIGINS: '["https://awoooi.wooo.work","http://localhost:3000"]'
# AI 配置
AI_FALLBACK_ORDER: "ollama,gemini,claude"