Commit 03c116b0 authored by EXT Anthony Geourjon's avatar EXT Anthony Geourjon
Browse files

Update path in client side of socket io

parent f00309f7
......@@ -7,7 +7,7 @@ function $socketIOFactory($rootScope, $rightFactory, $chatFactory, $chatEventsFa
// initialise socketIO.
returns.initSocketIO = function () {
socket = io(URL);
socket = io(URL, {path : "/chat/socket.io"});
console.log("Chat url " + URL);
socket.userID = $rightFactory.session.userId;
......
......@@ -8,9 +8,9 @@ function $socketIOPaperboardFactory($rootScope, $rightFactory,) {
// initialise socketIO.
returns.initSocketIO = function ()
{
socket = io(URL);
socket = io(URL, {path : "/paperboard/socket.io"} );
console.log("Paperboard url " + URL);
console.log("connected to socket server on localhost:8090");
socket.userID = $rightFactory.session.userId;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment