From 4590cfd6d48c6fd39ba7e768c3c5ed6dabbe5963 Mon Sep 17 00:00:00 2001 From: Ricel Leite Date: Wed, 18 Feb 2026 23:58:21 -0300 Subject: [PATCH] fix: re-enable automatic slash redirects (HTTPSRedirectMiddleware handles HTTPS) --- app/main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/main.py b/app/main.py index 0731333..89dcdd9 100644 --- a/app/main.py +++ b/app/main.py @@ -36,8 +36,7 @@ app = FastAPI( docs_url="/api/docs", redoc_url="/api/redoc", openapi_url="/api/openapi.json", - lifespan=lifespan, - redirect_slashes=False # Disable automatic slash redirects + lifespan=lifespan ) # Add HTTPS redirect middleware