Default version in config (#261)
* Update play_screen.js * Update config.json
This commit is contained in:
parent
29e54ee0c8
commit
8cbc95b5ef
2 changed files with 3 additions and 1 deletions
|
@ -2,5 +2,6 @@
|
|||
"defaultHost": "95.111.249.143",
|
||||
"defaultHostPort": 10000,
|
||||
"defaultProxy": "",
|
||||
"defaultProxyPort": 0
|
||||
"defaultProxyPort": 0,
|
||||
"defaultVersion": "1.17.1"
|
||||
}
|
||||
|
|
|
@ -76,6 +76,7 @@ class PlayScreen extends LitElement {
|
|||
this.serverport = config.defaultHostPort ?? 25565
|
||||
this.proxy = config.defaultProxy
|
||||
this.proxyport = !config.defaultProxy && !config.defaultProxyPort ? '' : config.defaultProxyPort ?? 443
|
||||
this.version = config.defaultVersion
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue