fix: ignore compose-only runtime variables

This commit is contained in:
2026-08-04 16:14:25 +08:00
parent a7fc2e49f0
commit bd56a73b63
2 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ class Settings(BaseSettings):
# ---------- CORS ----------
CORS_ORIGINS: str = "http://localhost:5173,http://10.10.10.7:5173,http://10.10.10.7"
model_config = {"env_file": ".env", "env_file_encoding": "utf-8"}
model_config = {"env_file": ".env", "env_file_encoding": "utf-8", "extra": "ignore"}
@property
def CASDOOR_ENDPOINT(self) -> str: