summaryrefslogtreecommitdiff
path: root/lambda-calcul/haskell/public/repl.js
diff options
context:
space:
mode:
Diffstat (limited to 'lambda-calcul/haskell/public/repl.js')
-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;
})();