diff options
-rw-r--r-- | slidenotes/notes.html | 2 |
1 files changed, 1 insertions, 1 deletions
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'); |