rm other http methods from proxy

This commit is contained in:
Shroominic
2025-06-05 15:02:04 +02:00
parent a7d49add8c
commit 24e81bc650
+1 -1
View File
@@ -17,7 +17,7 @@ proxy_router = APIRouter()
@proxy_router.api_route( @proxy_router.api_route(
"/{path:path}", methods=["GET", "POST", "PUT", "DELETE", "OPTIONS", "HEAD", "PATCH"] "/{path:path}", methods=["GET", "POST"]
) )
async def proxy( async def proxy(
request: Request, path: str, session: AsyncSession = Depends(get_session) request: Request, path: str, session: AsyncSession = Depends(get_session)