From: Jono Warren Date: Mon, 3 Sep 2012 08:32:31 +0000 (+0100) Subject: Fix Socket.IO URL X-Git-Tag: 2.0.0~13^2~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8e48bd21b016b0b51d4279479b114ad044273737;p=reveal.js.git Fix Socket.IO URL --- diff --git a/index.html b/index.html index 81d0b7e..89db091 100644 --- a/index.html +++ b/index.html @@ -319,7 +319,7 @@ function linkify( selector ) { { src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } }, { src: 'lib/js/showdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } }, { src: 'lib/js/data-markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } }, - { src: 'socket.io/socket.io.js', async: true, condition: function() { return window.location.host === 'localhost:1947'; } }, + { src: '/socket.io/socket.io.js', async: true, condition: function() { return window.location.host === 'localhost:1947'; } }, { src: 'plugin/speakernotes/client.js', async: true, condition: function() { return window.location.host === 'localhost:1947'; } }, ] });