From 730717fc3b7d25f76a3faac5bdb98c65f7880d21 Mon Sep 17 00:00:00 2001 From: brb Date: Thu, 13 Jul 2023 12:24:23 +0200 Subject: [PATCH] changed app to accept calls directly to root --- code/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/app.py b/code/app.py index 8b3829a..085dd92 100644 --- a/code/app.py +++ b/code/app.py @@ -38,7 +38,7 @@ async def test(request: Request): ) -@app.post('/event') +@app.post('/') def handle_event(request: GiteaRequest): """ Handle event from webhook. """ # extract information