@@ -16,6 +16,8 @@ class Settings(BaseSettings):
|
||||
|
||||
# App
|
||||
debug: bool = Field(default=True, alias="DEBUG")
|
||||
swagger_auth_login: str = Field(default="", alias="SWAGGER_AUTH_LOGIN")
|
||||
swagger_auth_password: str = Field(default="", alias="SWAGGER_AUTH_PASSWORD")
|
||||
cors_allowed_origins: list[str] = Field(
|
||||
default_factory=lambda: [
|
||||
"http://localhost:3000",
|
||||
|
||||
Reference in New Issue
Block a user