From a465bf5f472227f46af42ec26a22e381aec5d458 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 23 Mar 2018 11:39:06 +0100 Subject: Fix error display on edit config in admin --- server/initializers/checker.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'server') diff --git a/server/initializers/checker.ts b/server/initializers/checker.ts index e5cc1b7be..cd93f19a9 100644 --- a/server/initializers/checker.ts +++ b/server/initializers/checker.ts @@ -21,10 +21,13 @@ function checkMissedConfig () { const required = [ 'listen.port', 'webserver.https', 'webserver.hostname', 'webserver.port', 'database.hostname', 'database.port', 'database.suffix', 'database.username', 'database.password', - 'storage.videos', 'storage.logs', 'storage.thumbnails', 'storage.previews', 'storage.torrents', 'storage.cache', 'log.level', + 'redis.hostname', 'redis.port', 'redis.auth', + 'smtp.hostname', 'smtp.port', 'smtp.username', 'smtp.password', 'smtp.tls', 'smtp.from_address', + 'storage.avatars', 'storage.videos', 'storage.logs', 'storage.previews', 'storage.thumbnails', 'storage.torrents', 'storage.cache', + 'log.level', + 'user.video_quota', 'cache.previews.size', 'admin.email', 'signup.enabled', 'signup.limit', 'transcoding.enabled', 'transcoding.threads', - 'user.video_quota', 'smtp.hostname', 'smtp.port', 'smtp.username', 'smtp.password', 'smtp.tls', 'smtp.from_address', - 'instance.name', 'instance.description', 'instance.terms' + 'instance.name', 'instance.short_description', 'instance.description', 'instance.terms', 'instance.default_client_route' ] const miss: string[] = [] -- cgit v1.2.3