From cf0c8ee588e37809d85ec1deec1e4fdfa0f122a5 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 14 Oct 2021 11:35:43 +0200 Subject: Fix admin edition disabling feature --- server/initializers/config.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'server/initializers/config.ts') diff --git a/server/initializers/config.ts b/server/initializers/config.ts index a37aae551..48bb5ab8e 100644 --- a/server/initializers/config.ts +++ b/server/initializers/config.ts @@ -206,8 +206,8 @@ const CONFIG = { }, WEBADMIN: { CONFIGURATION: { - EDITS: { - ALLOWED: config.get('webadmin.configuration.edit.allowed') + EDITION: { + ALLOWED: config.get('webadmin.configuration.edition.allowed') } } }, @@ -463,7 +463,7 @@ export function reloadConfig () { function getConfigDirectories () { if (process.env.NODE_CONFIG_DIR) { - return process.env.NODE_CONFIG_DIR.split(":") + return process.env.NODE_CONFIG_DIR.split(':') } return [ join(root(), 'config') ] -- cgit v1.2.3