aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/config.ts')
-rw-r--r--server/initializers/config.ts6
1 files changed, 3 insertions, 3 deletions
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 = {
206 }, 206 },
207 WEBADMIN: { 207 WEBADMIN: {
208 CONFIGURATION: { 208 CONFIGURATION: {
209 EDITS: { 209 EDITION: {
210 ALLOWED: config.get<boolean>('webadmin.configuration.edit.allowed') 210 ALLOWED: config.get<boolean>('webadmin.configuration.edition.allowed')
211 } 211 }
212 } 212 }
213 }, 213 },
@@ -463,7 +463,7 @@ export function reloadConfig () {
463 463
464 function getConfigDirectories () { 464 function getConfigDirectories () {
465 if (process.env.NODE_CONFIG_DIR) { 465 if (process.env.NODE_CONFIG_DIR) {
466 return process.env.NODE_CONFIG_DIR.split(":") 466 return process.env.NODE_CONFIG_DIR.split(':')
467 } 467 }
468 468
469 return [ join(root(), 'config') ] 469 return [ join(root(), 'config') ]