changed app to accept calls directly to root
This commit is contained in:
+1
-1
@@ -38,7 +38,7 @@ async def test(request: Request):
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@app.post('/event')
|
@app.post('/')
|
||||||
def handle_event(request: GiteaRequest):
|
def handle_event(request: GiteaRequest):
|
||||||
""" Handle event from webhook. """
|
""" Handle event from webhook. """
|
||||||
# extract information
|
# extract information
|
||||||
|
|||||||
Reference in New Issue
Block a user