mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-04-07 14:04:35 +08:00
[license] Type
Move package type to license. warning_limit_percents string -> int
This commit is contained in:
@ -44,7 +44,7 @@ const redisClient = pubsubRedis.getClientRedis();
|
||||
|
||||
const buildDate = '6/29/2016';
|
||||
const oBuildDate = new Date(buildDate);
|
||||
const oPackageType = constants.PACKAGE_TYPE_OS;
|
||||
const oPackageType = configL.get('packageType');
|
||||
|
||||
const cfgRedisPrefix = config.get('services.CoAuthoring.redis.prefix');
|
||||
const redisKeyLicense = cfgRedisPrefix + ((constants.PACKAGE_TYPE_OS === oPackageType) ? constants.REDIS_KEY_LICENSE :
|
||||
|
||||
Reference in New Issue
Block a user