Add autoconnect to config.json
This commit is contained in:
1 parent
312a3f812e
commit
47b12cc5d9
2 files changed
+6
No files matched your search
@@ -201,6 +201,9 @@ export default class App extends Component {
|
||||
} else if (typeof config.server.autojoin === "string") {
|
||||
connectParams.autojoin = [config.server.autojoin];
|
||||
}
|
||||
if (typeof config.server.autoconnect === "boolean") {
|
||||
connectParams.autoconnect = config.server.autoconnect;
|
||||
}
|
||||
}
|
||||
|
||||
let autoconnect = store.autoconnect.load();
|
||||
|
||||
Reference in new issue
Block a user