Fix TypeError when auto-filling server URL
This commit is contained in:
parent
80fee31f2c
commit
34baafc77f
1 changed files with 1 additions and 1 deletions
|
@ -377,7 +377,7 @@ export default class App extends Component {
|
||||||
if (window.location.protocol != "https:") {
|
if (window.location.protocol != "https:") {
|
||||||
proto = "ws:";
|
proto = "ws:";
|
||||||
}
|
}
|
||||||
connectParams.serverURL = proto + "//" + host + "/socket";
|
serverURL = proto + "//" + host + "/socket";
|
||||||
}
|
}
|
||||||
|
|
||||||
var autojoin = [];
|
var autojoin = [];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue