fix: ignore compose-only runtime variables
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user