diff --git a/static/js/pad2.js b/static/js/pad2.js index b32bd5991..236b3d132 100644 --- a/static/js/pad2.js +++ b/static/js/pad2.js @@ -60,11 +60,7 @@ function randomString() { function handshake() { - var host = window.location.hostname; - var options = {secure: window.location.protocol == 'https:', - port: window.location.port}; - - socket = new io.Socket(host, options); + socket = new io.Socket(); socket.connect(); socket.on('connect', function(){