mhmm brainrod

This commit is contained in:
derlole
2025-05-06 15:44:29 +00:00
parent 29e119560d
commit f7d9a640ee
2 changed files with 2 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ def esp_online():
print(f"ESP ONLINE von IP: {esp_ip}, roher IP: {sender_ip}")
return jsonify({"status": "ok"})
@esp.route('/toggle-machine', methods=['GET'])
@esp.route('/toggle-machine', methods=['POST'])
def toggle_machine():
print("ESP: toggle-machine")
randID = random.randint(1000, 9999)