diff options
Diffstat (limited to 'lambda-calcul/haskell')
| -rw-r--r-- | lambda-calcul/haskell/public/repl.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lambda-calcul/haskell/public/repl.js b/lambda-calcul/haskell/public/repl.js index 8dab744..599d1f8 100644 --- a/lambda-calcul/haskell/public/repl.js +++ b/lambda-calcul/haskell/public/repl.js @@ -4,7 +4,7 @@ function connect() { websocket = (function() { const host = window.location.host; const protocol = window.location.protocol === "https:" ? "wss:" : "ws:"; - const ws = new WebSocket(protocol + "://" + host + "/repl/1235"); + const ws = new WebSocket(protocol + "//" + host + "/repl/1235"); ws.binaryType = "arraybuffer"; return ws; })(); |
