connect to whatever server we're on

This commit is contained in:
Rebecca Murphey 2012-06-17 20:57:29 -04:00
parent 8980f8accb
commit 4ca99d4264
1 changed files with 1 additions and 1 deletions

View 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');