mirror of
https://gitlab.fdmci.hva.nl/technische-informatica-sm3/ti-projectten/rooziinuubii79.git
synced 2025-08-04 04:14:58 +00:00
changed port
This commit is contained in:
@@ -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__':
|
||||
|
Reference in New Issue
Block a user