mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-06 03:50:26 +02:00
Merge branch 'release/3.2.0' into develop
This commit is contained in:
commit
5b1a6d45b5
10 changed files with 14 additions and 12 deletions
|
@ -132,7 +132,7 @@ function checkConfig () {
|
|||
// Broadcast message
|
||||
if (CONFIG.BROADCAST_MESSAGE.ENABLED) {
|
||||
const currentLevel = CONFIG.BROADCAST_MESSAGE.LEVEL
|
||||
const available = [ 'info', 'warning', 'error' ]
|
||||
const available = [ 'info', 'warn', 'error' ]
|
||||
|
||||
if (available.includes(currentLevel) === false) {
|
||||
return 'Broadcast message level should be ' + available.join(' or ') + ' instead of ' + currentLevel
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue