Skip to content

Commit 7a6e4b4

Browse files
authored
Merge pull request #73 from LukePrior/testing
change mqtt topic
2 parents 634a071 + 7deb891 commit 7a6e4b4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

js/tracker.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -355,8 +355,8 @@ function clean_refresh(text, force, history_step) {
355355
client.subscribe(topic);
356356
clientTopic = topic;
357357
} else {
358-
client.subscribe("#");
359-
clientTopic = "#";
358+
client.subscribe("sondes/#");
359+
clientTopic = "sondes/#";
360360
}
361361
} catch (err) {}
362362

@@ -2966,8 +2966,8 @@ function liveData() {
29662966
client.subscribe(topic);
29672967
clientTopic = topic;
29682968
} else {
2969-
client.subscribe("#");
2970-
clientTopic = "#";
2969+
client.subscribe("sondes/#");
2970+
clientTopic = "sondes/#";
29712971
}
29722972
clientConnected = true;
29732973
clientActive = true;

0 commit comments

Comments
 (0)