From b18d51acfbce21eb53501ef92c5a005ef035296a Mon Sep 17 00:00:00 2001 From: wu Date: Fri, 14 Apr 2023 00:27:22 +0800 Subject: [PATCH] add uvicorn base settings --- backend/app/core/conf.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/backend/app/core/conf.py b/backend/app/core/conf.py index 09181521..3f3694cf 100644 --- a/backend/app/core/conf.py +++ b/backend/app/core/conf.py @@ -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