Remove the restriction of the webhooks method

parent be296a1a
......@@ -53,7 +53,7 @@ def create_app(manager):
return flask.send_file(str(path), mimetype="text/plain")
@app.route("/+hook/<token>", methods=["POST"])
def hook(token):
if token != manager.config["hooks-token"]:
return "UNAUTHORIZED", 401
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment