diff options
| author | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-04-03 09:20:59 +0200 |
|---|---|---|
| committer | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-04-03 09:20:59 +0200 |
| commit | 80c33f5303e2c083841933de4338f7e5d15de972 (patch) | |
| tree | aea30c99000290ae590591ecb614dc84e793cdf2 /src/scripts/controllers/connection | |
| parent | f7518a4d196ccf9e3ef16829d4129fbb44242726 (diff) | |
Factor out hardcoded SERVER_BASE_URL
Diffstat (limited to 'src/scripts/controllers/connection')
| -rw-r--r-- | src/scripts/controllers/connection/socket.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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) => { |
