From 4ca99d426446508b63ad995ea029f4fc95c82952 Mon Sep 17 00:00:00 2001
From: Rebecca Murphey <rmurphey@gmail.com>
Date: Sun, 17 Jun 2012 20:57:29 -0400
Subject: [PATCH] connect to whatever server we're on

---
 slidenotes/notes.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/slidenotes/notes.html b/slidenotes/notes.html
index 5fc81ec..58c2516 100644
--- a/slidenotes/notes.html
+++ b/slidenotes/notes.html
@@ -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');
-- 
GitLab