add uvicorn base settings

This commit is contained in:
wu
2023-04-19 11:05:49 +08:00
committed by Wu Clan
parent 9481500b27
commit b18d51acfb
+5
View File
@@ -15,6 +15,11 @@ class Settings(BaseSettings):
REDOCS_URL: Optional[str] = None
OPENAPI_URL: Optional[str] = '/v1/openapi'
# Uvicorn
UVICORN_HOST: str = '127.0.0.1'
UVICORN_PORT: int = 8000
UVICORN_RELOAD: bool = True
# Static Server
STATIC_FILES: bool = False