use current host/port

edit
Rebecca Murphey 2012-06-17 18:43:29 -04:00
parent f6b4561c0e
commit 0163ffcb43
1 changed files with 2 additions and 2 deletions

View File

@ -3,8 +3,8 @@
var qs = window.location.href.split('?');
if (qs.length > 1 && qs[1].match('receiver')) { return; }
var socket = io.connect('http://localhost:1947');
var socket = io.connect(window.location.origin);
Reveal.addEventListener( 'slidechanged', function( event ) {
var nextindexh;
var nextindexv;