aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-05-14 14:18:13 +0200
committerChocobozzz <me@florianbigard.com>2021-05-14 14:18:13 +0200
commit5b1a6d45b5d6e50102e1c7c8c845401b76b11b4d (patch)
treef4d7f184593e6e025b71cbe7cb4ea8583fd267b0 /server/initializers
parentaea0b0e7cde7495e60fe07b4444067f53d35ce3f (diff)
parentcb4bab61c19f2be7858f9cc6e8e234f04b1d504f (diff)
downloadPeerTube-5b1a6d45b5d6e50102e1c7c8c845401b76b11b4d.tar.gz
PeerTube-5b1a6d45b5d6e50102e1c7c8c845401b76b11b4d.tar.zst
PeerTube-5b1a6d45b5d6e50102e1c7c8c845401b76b11b4d.zip
Merge branch 'release/3.2.0' into develop
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/checker-after-init.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/initializers/checker-after-init.ts b/server/initializers/checker-after-init.ts
index 911734fa0..d75c0af04 100644
--- a/server/initializers/checker-after-init.ts
+++ b/server/initializers/checker-after-init.ts
@@ -132,7 +132,7 @@ function checkConfig () {
132 // Broadcast message 132 // Broadcast message
133 if (CONFIG.BROADCAST_MESSAGE.ENABLED) { 133 if (CONFIG.BROADCAST_MESSAGE.ENABLED) {
134 const currentLevel = CONFIG.BROADCAST_MESSAGE.LEVEL 134 const currentLevel = CONFIG.BROADCAST_MESSAGE.LEVEL
135 const available = [ 'info', 'warning', 'error' ] 135 const available = [ 'info', 'warn', 'error' ]
136 136
137 if (available.includes(currentLevel) === false) { 137 if (available.includes(currentLevel) === false) {
138 return 'Broadcast message level should be ' + available.join(' or ') + ' instead of ' + currentLevel 138 return 'Broadcast message level should be ' + available.join(' or ') + ' instead of ' + currentLevel