client side code now fixed

pull/2319/head
John McLear 2014-11-18 14:10:38 +00:00
parent 020b636b1f
commit d10013c159
1 changed files with 2 additions and 1 deletions

View File

@ -9,7 +9,8 @@ $(document).ready(function () {
resource = baseURL.substring(1) + "socket.io";
//connect
socket = io.connect(url, {resource : resource}).of("/settings");
var room = url + "settings";
socket = io.connect(room, {resource : resource});
socket.on('settings', function (settings) {