mirror of
https://git.sr.ht/~emersion/gamja
synced 2025-03-25 06:21:18 -04:00
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:") {
|
||||
proto = "ws:";
|
||||
}
|
||||
connectParams.serverURL = proto + "//" + host + "/socket";
|
||||
serverURL = proto + "//" + host + "/socket";
|
||||
}
|
||||
|
||||
var autojoin = [];
|
||||
|
|
Loading…
Add table
Reference in a new issue