connect to whatever server we're on
authorRebecca Murphey <rmurphey@gmail.com>
Mon, 18 Jun 2012 00:57:29 +0000 (20:57 -0400)
committerRebecca Murphey <rmurphey@gmail.com>
Mon, 18 Jun 2012 00:57:29 +0000 (20:57 -0400)
slidenotes/notes.html

index 5fc81ece2f9b91a3ae8a7bd5d75887c36b934919..58c25162fd5d188565b1f0c86aff0de56b1e3300 100644 (file)
@@ -66,7 +66,7 @@
 
     <script>
     var socketId = '{{socketId}}';
-    var socket = io.connect('http://localhost:1947');
+    var socket = io.connect(window.location.origin);
     var notes = document.getElementById('notes');
     var slides = document.getElementById('slides');
     var nextSlide = document.getElementById('next-slide');