Added multiplexing server
This commit is contained in:
parent
79299d0071
commit
976536d15e
9 changed files with 285 additions and 30 deletions
|
@ -2,7 +2,7 @@
|
|||
// don't emit events from inside the previews themselves
|
||||
if ( window.location.search.match( /receiver/gi ) ) { return; }
|
||||
|
||||
var socket = io.connect(window.location.origin);
|
||||
var socket = io.connect('127.0.0.1:1947');
|
||||
var socketId = Math.random().toString().slice(2);
|
||||
|
||||
console.log('View slide notes at ' + window.location.origin + '/notes/' + socketId);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue