Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
Uses local host
Browse files Browse the repository at this point in the history
  • Loading branch information
r-oung committed Mar 14, 2020
1 parent 76294ae commit f8f26e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion test/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
CLIENT_ID = 'test-app'

# MQTT broker
MQTT_BROKER_HOST = '192.168.0.118'
MQTT_BROKER_HOST = 'localhost'
# MQTT_BROKER_HOST = '192.168.0.118'
MQTT_BROKER_PORT = 1883

# connection parameters
Expand Down
3 changes: 2 additions & 1 deletion web/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,8 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/paho-mqtt/1.1.0/paho-mqtt.min.js"></script>
<script>
// MQTT broker with websocket support
const MQTT_BROKER_HOST = '192.168.0.118';
const MQTT_BROKER_HOST = 'localhost';
// const MQTT_BROKER_HOST = '192.168.0.118';
const MQTT_BROKER_PORT = 9001;

let client;
Expand Down

0 comments on commit f8f26e7

Please sign in to comment.