Fix Socket.IO URL
authorJono Warren <jonathan_warren@bcl.co.uk>
Mon, 3 Sep 2012 08:32:31 +0000 (09:32 +0100)
committerJono Warren <jonathan_warren@bcl.co.uk>
Mon, 3 Sep 2012 08:32:31 +0000 (09:32 +0100)
index.html

index 81d0b7e7eeccc0cb0d6f55f80035ff4c6b7ffaf2..89db091227e38b88d63b6e6f8b389440b37a7ebe 100644 (file)
@@ -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'; } },
                                ]
                        });