From efb8901a40328864d8627773f633b772ac07e1ed Mon Sep 17 00:00:00 2001 From: "railway-app[bot]" <68434857+railway-app[bot]@users.noreply.github.com> Date: Fri, 1 May 2026 13:45:17 +0000 Subject: [PATCH] fix: add redirect_slashes=False to FastAPI init in main.py --- backend/app/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/app/main.py b/backend/app/main.py index 0525df2..11e4381 100644 --- a/backend/app/main.py +++ b/backend/app/main.py @@ -223,6 +223,7 @@ def _seed_sync() -> None: docs_url=f"{settings.API_V1_STR}/docs", redoc_url=f"{settings.API_V1_STR}/redoc", lifespan=_lifespan, + redirect_slashes=False, ) # Prometheus /metrics should be exposed before startup to avoid "Cannot add middleware after started"