mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-07-17 01:20:05 +08:00
removed unnecessary settings
This commit is contained in:
@@ -13,10 +13,6 @@ class Settings(BaseSettings):
|
||||
BACKEND_CORS_ORIGINS: List[AnyHttpUrl] = []
|
||||
UPDATE_ALEMBIC: bool = True
|
||||
|
||||
PORT: int = 8000
|
||||
FASTAPI_RELOAD: bool = False
|
||||
UVICONR_WOWKERS: int = 1
|
||||
|
||||
@validator("BACKEND_CORS_ORIGINS", pre=True)
|
||||
def assemble_cors_origins(cls, v: Union[str, List[str]]) -> Union[List[str], str]:
|
||||
if isinstance(v, str) and not v.startswith("["):
|
||||
|
||||
Reference in New Issue
Block a user