From 80c33f5303e2c083841933de4338f7e5d15de972 Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Mon, 3 Apr 2017 09:20:59 +0200 Subject: Factor out hardcoded SERVER_BASE_URL --- src/scripts/controllers/connection/socket.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/scripts/controllers/connection') diff --git a/src/scripts/controllers/connection/socket.ts b/src/scripts/controllers/connection/socket.ts index c23495f1..91a0f9e4 100644 --- a/src/scripts/controllers/connection/socket.ts +++ b/src/scripts/controllers/connection/socket.ts @@ -15,7 +15,7 @@ export class SocketController { this.callbacks = {}; this._cacheController = new CacheController(); - this._socket = io.connect('https://opendc.ewi.tudelft.nl:443'); + this._socket = io.connect('SERVER_BASE_URL'); this._socket.on('connect', onConnect); this._socket.on('response', (jsonResponse: string) => { -- cgit v1.2.3