changed port

This commit is contained in:
ishak jmilou.ishak
2024-10-16 17:11:11 +02:00
parent 2aeb41af7c
commit ab38b4928b
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ def index():
@app.route('/move', methods=['POST'])
def move():
direction = request.form['direction']
publish.single("home/commands", direction, hostname="ishak.ishakpi.ddns.net")
publish.single("move", direction, hostname="ishak.ishakpi.ddns.net")
return "Message sent"
if __name__ == '__main__':