git url update

o2switch
erreur401 2 years ago
parent 6149b62e0e
commit 2090437f7c
  1. 2
      app.py

@ -115,7 +115,7 @@ def search():
@app.route('/webhook', methods=['POST']) @app.route('/webhook', methods=['POST'])
def webhook(): def webhook():
if request.method == 'POST': if request.method == 'POST':
repo_path = "http://192.168.178.21:3000/zvevqx/tdtdt.git" # Replace with the actual path repo_path = "http://git.tdtdt.net:3003/zvevqx/tdtdt.git" # Replace with the actual path
subprocess.run(['git', 'pull', repo_path]) subprocess.run(['git', 'pull', repo_path])
return "Webhook received!" return "Webhook received!"

Loading…
Cancel
Save