This commit is contained in:
Martin Donnelly 2016-10-05 15:15:37 +01:00
parent a7863e20b9
commit 2f79a85abf

View File

@ -1,7 +1,7 @@
var WEBSOCKET = function(model) { var WEBSOCKET = function(model) {
var wsUrl = ['localhost','silvrtree.co.uk']; var wsUrl = ['localhost','silvrtree.co.uk'];
var wsPort = '9000; var wsPort = '9000';
if ('https:' === document.location.protocol) { if ('https:' === document.location.protocol) {
wsUrl = 'wss://' + wsUrl[1] + ''; wsUrl = 'wss://' + wsUrl[1] + '';