disabled middleware
This commit is contained in:
parent
38e6f37450
commit
b7f3687b6c
2 changed files with 4 additions and 1 deletions
Binary file not shown.
|
|
@ -186,9 +186,12 @@ async def rate_limiting_middleware(request, call_next):
|
|||
return await app.state.rate_limit_middleware(request, call_next)
|
||||
return await call_next(request)
|
||||
|
||||
@app.middleware("http")
|
||||
@app.middleware("http")
|
||||
async def validation_middleware(request, call_next):
|
||||
"""Apply request validation middleware."""
|
||||
# TEMPORARILY DISABLED FOR DEBUGGING
|
||||
return await call_next(request)
|
||||
|
||||
# Skip middleware for auth endpoints during debugging
|
||||
if request.url.path in ["/api/v1/auth/login", "/api/v1/auth/refresh"]:
|
||||
return await call_next(request)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue