mirror of
https://github.com/Routstr/routstr-core.git
synced 2026-10-05 12:28:22 +00:00
rm other http methods from proxy
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@ proxy_router = APIRouter()
|
||||
|
||||
|
||||
@proxy_router.api_route(
|
||||
"/{path:path}", methods=["GET", "POST", "PUT", "DELETE", "OPTIONS", "HEAD", "PATCH"]
|
||||
"/{path:path}", methods=["GET", "POST"]
|
||||
)
|
||||
async def proxy(
|
||||
request: Request, path: str, session: AsyncSession = Depends(get_session)
|
||||
|
||||
Reference in New Issue
Block a user