aboutsummaryrefslogtreecommitdiff
path: root/src/client/Server.ts
diff options
context:
space:
mode:
authorSam Wilkins <abdullah_ahmed@brown.edu>2019-03-09 21:50:07 -0500
committerSam Wilkins <abdullah_ahmed@brown.edu>2019-03-09 21:50:07 -0500
commitf9f0fd90791562c295f8d9b237596cbabb086b79 (patch)
tree4c355c2175a3f8f8aacf0218cc6e62ec1e0ed712 /src/client/Server.ts
parente673d4f70b8feb37dcd328440c019a49f8a22e88 (diff)
parent96eede5f7d1706a3f7ac6ee02a85bb3da217f467 (diff)
finalized workspace manipulation and merged with master
Diffstat (limited to 'src/client/Server.ts')
-rw-r--r--src/client/Server.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/Server.ts b/src/client/Server.ts
index 2d162b93a..f0cf0bb9b 100644
--- a/src/client/Server.ts
+++ b/src/client/Server.ts
@@ -9,7 +9,7 @@ import { MessageStore, Types } from "./../server/Message";
export class Server {
public static ClientFieldsCached: ObservableMap<FieldId, Field | FIELD_WAITING> = new ObservableMap();
- static Socket: SocketIOClient.Socket = OpenSocket("http://localhost:1234");
+ static Socket: SocketIOClient.Socket = OpenSocket(`${window.location.protocol}//${window.location.hostname}:1234`);
static GUID: string = Utils.GenerateGuid()