Skip to content

Commit

Permalink
dashboard IOT
Browse files Browse the repository at this point in the history
  • Loading branch information
bikash committed Feb 17, 2016
1 parent 1db916b commit fce34dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
});
}
$(document).ready(function() {
var wsUri = "ws://localhost:5555/ws";
//var wsUri = "ws://localhost:5555/ws";
var host = "ws://localhost:5555/ws";
//var eb = new WebSocket(host);
//var host = "ws://localhost:9090/ws";
Expand All @@ -178,7 +178,7 @@
heartElement = $("#heart");
setupSmootie();
//eb = new EventBus(socket);
eb = new EventBus("http://localhost:5555/ws");
eb = new vertx.EventBus("http://localhost:5555");
eb.onopen = function () {
subscribeToHeartrate();
subscribeToActivity();
Expand Down

0 comments on commit fce34dc

Please sign in to comment.