mirror of
https://gitlab.silvrtree.co.uk/martind2000/SODashServer.git
synced 2025-01-25 20:56:16 +00:00
socket madness
This commit is contained in:
parent
3228c50542
commit
59a3305292
@ -376,7 +376,9 @@ var SOWEBSOCKET = function() {
|
|||||||
this.startWebSocket = function() {
|
this.startWebSocket = function() {
|
||||||
'use strict';
|
'use strict';
|
||||||
console.log('Starting socket?');
|
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;
|
var wsCtor = window['MozWebSocket'] ? MozWebSocket : WebSocket;
|
||||||
this.socket = new wsCtor(url, 'stream');
|
this.socket = new wsCtor(url, 'stream');
|
||||||
|
Loading…
Reference in New Issue
Block a user