fix(k8s): CORS_ORIGINS 使用 JSON array 格式
pydantic-settings 對 list[str] 欄位要求 JSON 格式 Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user