mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-02-10 18:05:07 +08:00
[bug] Merge runtime config in full config; Fix bug 77258
This commit is contained in:
@ -101,7 +101,7 @@ Context.prototype.initFromPubSub = function (data) {
|
||||
Context.prototype.initTenantCache = async function () {
|
||||
const runtimeConfig = await runtimeConfigManager.getConfig(this);
|
||||
const tenantConfig = await tenantManager.getTenantConfig(this);
|
||||
this.config = utils.deepMergeObjects({}, runtimeConfig, tenantConfig);
|
||||
this.config = utils.deepMergeObjects(config.util.toObject(), runtimeConfig, tenantConfig);
|
||||
|
||||
//todo license and secret
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user