🐛 Fix case sensitive validation for LOGLEVEL

This commit is contained in:
Manuel 2023-03-27 22:45:23 +02:00 committed by Manuel
parent 4ac09196c6
commit 091ca0b65f

View File

@ -28,6 +28,7 @@ import { UpdatesModule } from './updates/updates.module';
UPDATER_DISABLE_NOTIFICATIONS: Joi.boolean(), UPDATER_DISABLE_NOTIFICATIONS: Joi.boolean(),
LOG_LEVEL: Joi.string() LOG_LEVEL: Joi.string()
.valid('error', 'warn', 'log', 'debug', 'verbose') .valid('error', 'warn', 'log', 'debug', 'verbose')
.insensitive()
.default('log'), .default('log'),
PORT: Joi.number().min(1), PORT: Joi.number().min(1),
}), }),