mirror of
https://gitlab.silvrtree.co.uk/martind2000/SODashServer.git
synced 2025-01-11 06:15:08 +00:00
socket madness
This commit is contained in:
parent
3228c50542
commit
59a3305292
@ -376,7 +376,9 @@ var SOWEBSOCKET = function() {
|
||||
this.startWebSocket = function() {
|
||||
'use strict';
|
||||
console.log('Starting socket?');
|
||||
var url = 'ws://localhost:8080';
|
||||
//var url = 'ws://localhost:8080';
|
||||
|
||||
var url = 'ws://ec2-52-50-147-81.eu-west-1.compute.amazonaws.com/:8080';
|
||||
|
||||
var wsCtor = window['MozWebSocket'] ? MozWebSocket : WebSocket;
|
||||
this.socket = new wsCtor(url, 'stream');
|
||||
|
Loading…
Reference in New Issue
Block a user