Fix TypeError when auto-filling server URL

This commit is contained in:
Simon Ser 2020-06-24 17:52:24 +02:00
parent 80fee31f2c
commit 34baafc77f
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48

View File

@ -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 = [];