diff --git a/src/infrastructure/config/settings.py b/src/infrastructure/config/settings.py index 6f2e7eb..c146894 100644 --- a/src/infrastructure/config/settings.py +++ b/src/infrastructure/config/settings.py @@ -302,7 +302,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 dd7986a..eff8f7e 100644 --- a/src/main.py +++ b/src/main.py @@ -149,6 +149,7 @@ async def ping() -> dict[str, str]: } +@app.get('/healthcheck') @app.get('/health') async def health() -> dict[str, str]: return {