diff --git a/app/js/websocket.js b/app/js/websocket.js index 06d7c32..c7bacf8 100644 --- a/app/js/websocket.js +++ b/app/js/websocket.js @@ -1,15 +1,15 @@ var WEBSOCKET = function(model) { var wsUrl = ['localhost','silvrtree.co.uk']; - //var wsPort = 80; + var wsPort = '9000; if ('https:' === document.location.protocol) { wsUrl = 'wss://' + wsUrl[1] + ''; - //wsPort = ''; + wsPort = ''; } else { //wsUrl = 'ws://localhost:3001'; wsUrl = 'ws://' + wsUrl[1] + ''; - //wsPort = ''; + wsPort = ''; } this.socket = null;