Add:Server setting for default language #1103

This commit is contained in:
advplyr committed 2022-11-08 18:09:07 -06:00
1 parent 400e34a4c7
commit 6e064eeafb
8 files changed
+91 -24

No files matched your search

+2 -1
View File
@@ -254,7 +254,8 @@ class Server {
// status check for client to see if server has been initialized
// server has been initialized if a root user exists
const payload = {
isInit: this.db.hasRootUser
isInit: this.db.hasRootUser,
language: this.db.serverSettings.language
}
if (!payload.isInit) {
payload.ConfigPath = global.ConfigPath