diff options
| author | Arnaud Bailly <arnaud@pankzsoft.com> | 2025-11-02 18:56:41 +0100 |
|---|---|---|
| committer | Arnaud Bailly <arnaud@pankzsoft.com> | 2025-11-02 18:56:41 +0100 |
| commit | 1294be22324f012e96fd1b9d5935563505c080be (patch) | |
| tree | 15b64698ec092d72c23a2148c6501396721b325f /lambda-calcul/haskell/public/repl.js | |
| parent | 64e3a81873717e54d5c82ad9da6bc1bc00de9f8b (diff) | |
| download | lambda-nantes-1294be22324f012e96fd1b9d5935563505c080be.tar.gz | |
fix websocket URL typo
Diffstat (limited to 'lambda-calcul/haskell/public/repl.js')
| -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; })(); |
