aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRebecca Murphey <rmurphey@gmail.com>2012-06-17 18:43:29 -0400
committerRebecca Murphey <rmurphey@gmail.com>2012-06-17 18:43:29 -0400
commit0163ffcb435a8d5584a934afcf3eda0156c14fdd (patch)
tree47ef5831f340db90761c466d2e1e0641c498fdcc
parentf6b4561c0e34a9b68a57cf883f7161833962cb59 (diff)
downloadfosdem-2018-presentation-0163ffcb435a8d5584a934afcf3eda0156c14fdd.tar
fosdem-2018-presentation-0163ffcb435a8d5584a934afcf3eda0156c14fdd.tar.gz
use current host/port
-rw-r--r--js/slidenotes.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/slidenotes.js b/js/slidenotes.js
index 9a4f152..ef05062 100644
--- a/js/slidenotes.js
+++ b/js/slidenotes.js
@@ -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;