diff --git a/src/infrastructure/config/settings.py b/src/infrastructure/config/settings.py index e4ff7b8..095a067 100644 --- a/src/infrastructure/config/settings.py +++ b/src/infrastructure/config/settings.py @@ -382,7 +382,7 @@ class Settings(BaseSettings): @property def EXCLUDED_PATHS(self) -> List[str]: - return ["/docs", "/redoc", "/openapi.json", "/ping", "/health"] + return ["/docs", "/redoc", "/openapi.json", "/ping", "/health", '/healthcheck'] @lru_cache(maxsize=1) diff --git a/src/main.py b/src/main.py index f74bb9b..2b02dd4 100644 --- a/src/main.py +++ b/src/main.py @@ -164,6 +164,7 @@ async def ping() -> dict[str, str]: 'status': 'ok', } +@app.get('/healthcheck') @app.get('/health') async def health() -> dict[str, str]: return {