Commit 067e8b4a authored by EXT Anthony Geourjon's avatar EXT Anthony Geourjon
Browse files

Add log

parent 7e543534
......@@ -8,7 +8,7 @@ function $socketIOFactory($rootScope, $rightFactory, $chatFactory, $chatEventsFa
// initialise socketIO.
returns.initSocketIO = function () {
socket = io(URL);
console.log("Chat url " + URL);
socket.userID = $rightFactory.session.userId;
// debug
......
......@@ -9,6 +9,7 @@ function $socketIOPaperboardFactory($rootScope, $rightFactory,) {
returns.initSocketIO = function ()
{
socket = io(URL);
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