refactor: cleaned main file
This commit is contained in:
11
core/app_settings.py
Normal file
11
core/app_settings.py
Normal file
@ -0,0 +1,11 @@
|
||||
from fastapi.responses import ORJSONResponse
|
||||
|
||||
|
||||
class Settings:
|
||||
ROOT_PATH = "/api"
|
||||
DEFAULT_RESPONSE_CLASS = ORJSONResponse
|
||||
ORIGINS = ["http://localhost:3000"]
|
||||
STATIC_DIR = "static"
|
||||
|
||||
|
||||
settings = Settings()
|
||||
Reference in New Issue
Block a user