mirror of
https://codeberg.org/emersion/gamja
synced 2025-03-13 07:48:37 +01:00
Fix TypeError when auto-filling server URL
This commit is contained in:
parent
80fee31f2c
commit
34baafc77f
@ -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…
x
Reference in New Issue
Block a user