forked from CringeStudios/gamja
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:") {
|
||||
proto = "ws:";
|
||||
}
|
||||
connectParams.serverURL = proto + "//" + host + "/socket";
|
||||
serverURL = proto + "//" + host + "/socket";
|
||||
}
|
||||
|
||||
var autojoin = [];
|
||||
|
Loading…
x
Reference in New Issue
Block a user