Skip to content

Commit 97fcc36

Browse files
committed
fix: protect debug endpoint with Modal proxy auth
1 parent fab8c6f commit 97fcc36

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

runner/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ async def webhook_endpoint(request):
2828

2929

3030
@app.function(image=runner_image)
31-
@modal.fastapi_endpoint(method="POST")
31+
@modal.fastapi_endpoint(method="POST", requires_proxy_auth=True)
3232
async def debug_endpoint(request):
3333
return await debug_runner_log(request, app)

0 commit comments

Comments
 (0)