server: add a way to do profiling on api request by adding profile=1

This commit is contained in:
2023-11-10 10:03:01 +01:00
committed by Mathieu Virbel
parent 14946921f3
commit afa8010d29
4 changed files with 98 additions and 2 deletions

View File

@@ -131,5 +131,8 @@ class Settings(BaseSettings):
# Current hosting/domain
BASE_URL: str = "http://localhost:1250"
# Profiling
PROFILING: bool = False
settings = Settings()