add push webhook
continuous-integration/drone/push Build is passing

This commit is contained in:
jianxin committed 2025-03-26 18:57:50 +08:00
1 parent 28740517cf
commit 02c1cda350
1 file changed
+1 -1
+1 -1
View File
@@ -197,7 +197,7 @@ def create_app() -> Flask:
def index():
return {"test": "ok"}
@app.route("/webhook", methods=["GET"])
@app.route("/webhook", methods=["GET", "POST"])
def push_xbot_activity_bot():
# 解析请求体中的json数据
data = json.loads(request.data)