From 34baafc77fee96cdfb132c4817936710ae5f7263 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 24 Jun 2020 17:52:24 +0200 Subject: [PATCH] Fix TypeError when auto-filling server URL --- components/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/app.js b/components/app.js index a122a34..f8854ff 100644 --- a/components/app.js +++ b/components/app.js @@ -377,7 +377,7 @@ export default class App extends Component { if (window.location.protocol != "https:") { proto = "ws:"; } - connectParams.serverURL = proto + "//" + host + "/socket"; + serverURL = proto + "//" + host + "/socket"; } var autojoin = [];