fix: re-enable automatic slash redirects (HTTPSRedirectMiddleware handles HTTPS)
This commit is contained in:
parent
d73a28011e
commit
4590cfd6d4
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue