Skip to content

Commit

Permalink
Adjust server address
Browse files Browse the repository at this point in the history
  • Loading branch information
winstonsmith1897 committed Sep 21, 2023
1 parent 6c6371a commit 9cd888b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion temperature_monitor/catch_temperature.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def on_message(ws, message):
temperature = json_message["temperature"]
name = json_message["name"]
data = {"name": name, "temperature": temperature}
url = "http://localhost:6600/temperature"
url = "http://localhost:6000/temperature"
response = requests.post(url, json=data)
print(name, temperature)
if response.status_code == 200:
Expand Down

0 comments on commit 9cd888b

Please sign in to comment.