summaryrefslogtreecommitdiff
path: root/lambda-calcul
diff options
context:
space:
mode:
authorArnaud Bailly <arnaud@pankzsoft.com>2025-11-02 18:56:41 +0100
committerArnaud Bailly <arnaud@pankzsoft.com>2025-11-02 18:56:41 +0100
commit1294be22324f012e96fd1b9d5935563505c080be (patch)
tree15b64698ec092d72c23a2148c6501396721b325f /lambda-calcul
parent64e3a81873717e54d5c82ad9da6bc1bc00de9f8b (diff)
downloadlambda-nantes-1294be22324f012e96fd1b9d5935563505c080be.tar.gz
fix websocket URL typo
Diffstat (limited to 'lambda-calcul')
-rw-r--r--lambda-calcul/haskell/public/repl.js2
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;
})();