This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository mum. See http://git.chorem.org/mum.git commit debca6dca50e0578e8a023ea94f4aea73f82215d Author: Alexis Guilbaud <guilbaud@codelutin.com> Date: Thu Mar 12 17:33:53 2015 +0100 ajout $location.port() pour l'addresse de connection au websocket --- static/js/controllers/headCtrl.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/controllers/headCtrl.js b/static/js/controllers/headCtrl.js index a492dd0..9472c04 100644 --- a/static/js/controllers/headCtrl.js +++ b/static/js/controllers/headCtrl.js @@ -10,7 +10,7 @@ mumApp.controller('headCtrl', function($scope, $rootScope, toastr, $interval, $r }); // Concerning WebSocket - var ws = new WebSocket("ws://" + $location.host() + ":1337/websocket"); + var ws = new WebSocket("ws://" + $location.host() + ":" + $location.port() + "/websocket"); ws.onopen = function() { var request = JSON.stringify({"GET_HOSTS": ""}); @@ -74,7 +74,7 @@ mumApp.controller('headCtrl', function($scope, $rootScope, toastr, $interval, $r break; case "KEYS_LIST": $rootScope.$broadcast("keysList", JSON.parse(value)); - break; + break case "ERROR": toastr.error(value, "Server error"); break; -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.