diff options
author | Sam Wilkins <samwilkins333@gmail.com> | 2020-05-22 21:21:04 -0700 |
---|---|---|
committer | Sam Wilkins <samwilkins333@gmail.com> | 2020-05-22 21:21:04 -0700 |
commit | b458b4ef1be93161cf2bda250be109fd6a0a5ffe (patch) | |
tree | c8018ee6dc7c5503354dee19ff1f11ee0110be87 /src/debug/Repl.tsx | |
parent | 8f59d3d65b04682ce5711ed95867a8f0c739457a (diff) |
port extensibility fixes
Diffstat (limited to 'src/debug/Repl.tsx')
-rw-r--r-- | src/debug/Repl.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/debug/Repl.tsx b/src/debug/Repl.tsx index d541c8009..be53c0b9b 100644 --- a/src/debug/Repl.tsx +++ b/src/debug/Repl.tsx @@ -7,6 +7,7 @@ import { makeInterface } from '../fields/Schema'; import { ObjectField } from '../fields/ObjectField'; import { RefField } from '../fields/RefField'; import { DocServer } from '../client/DocServer'; +import { resolvedPorts } from '../client/views/Main'; @observer class Repl extends React.Component { @@ -61,6 +62,6 @@ class Repl extends React.Component { } (async function () { - DocServer.init(window.location.protocol, window.location.hostname, 4321, "repl"); + DocServer.init(window.location.protocol, window.location.hostname, resolvedPorts.socket, "repl"); ReactDOM.render(<Repl />, document.getElementById("root")); })();
\ No newline at end of file |