aboutsummaryrefslogtreecommitdiff
path: root/src/client/DocServer.ts
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-05-23 02:46:37 -0400
committerTyler Schicke <tyler_schicke@brown.edu>2019-05-23 02:46:37 -0400
commit05771afc1687f18bd645991d9a853637cc85e16f (patch)
tree194abbb9a7d8d495ddbde9cde79a186aff235271 /src/client/DocServer.ts
parenta2faa344dc76407e8120ffb83d7431b851d01cb8 (diff)
Enabled https
Diffstat (limited to 'src/client/DocServer.ts')
-rw-r--r--src/client/DocServer.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/DocServer.ts b/src/client/DocServer.ts
index cbcf751ee..b1b5ae529 100644
--- a/src/client/DocServer.ts
+++ b/src/client/DocServer.ts
@@ -8,7 +8,7 @@ import { Id, HandleUpdate } from '../new_fields/FieldSymbols';
export namespace DocServer {
const _cache: { [id: string]: RefField | Promise<Opt<RefField>> } = {};
- const _socket = OpenSocket(`${window.location.protocol}//${window.location.hostname}:4321`);
+ const _socket = OpenSocket(`${window.location.origin}`);
const GUID: string = Utils.GenerateGuid();
export function makeReadOnly() {