diff options
author | Chocobozzz <me@florianbigard.com> | 2018-03-23 11:39:06 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-03-23 11:39:06 +0100 |
commit | a465bf5f472227f46af42ec26a22e381aec5d458 (patch) | |
tree | d87746bd443c4a3f4699ee6e1a85a44dc6d6e7c6 /server/initializers | |
parent | 95540ed23a2e6ae6d48739f211aa24df57278413 (diff) | |
download | PeerTube-a465bf5f472227f46af42ec26a22e381aec5d458.tar.gz PeerTube-a465bf5f472227f46af42ec26a22e381aec5d458.tar.zst PeerTube-a465bf5f472227f46af42ec26a22e381aec5d458.zip |
Fix error display on edit config in admin
Diffstat (limited to 'server/initializers')
-rw-r--r-- | server/initializers/checker.ts | 9 |
1 files changed, 6 insertions, 3 deletions
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 () { | |||
21 | const required = [ 'listen.port', | 21 | const required = [ 'listen.port', |
22 | 'webserver.https', 'webserver.hostname', 'webserver.port', | 22 | 'webserver.https', 'webserver.hostname', 'webserver.port', |
23 | 'database.hostname', 'database.port', 'database.suffix', 'database.username', 'database.password', | 23 | 'database.hostname', 'database.port', 'database.suffix', 'database.username', 'database.password', |
24 | 'storage.videos', 'storage.logs', 'storage.thumbnails', 'storage.previews', 'storage.torrents', 'storage.cache', 'log.level', | 24 | 'redis.hostname', 'redis.port', 'redis.auth', |
25 | 'smtp.hostname', 'smtp.port', 'smtp.username', 'smtp.password', 'smtp.tls', 'smtp.from_address', | ||
26 | 'storage.avatars', 'storage.videos', 'storage.logs', 'storage.previews', 'storage.thumbnails', 'storage.torrents', 'storage.cache', | ||
27 | 'log.level', | ||
28 | 'user.video_quota', | ||
25 | 'cache.previews.size', 'admin.email', 'signup.enabled', 'signup.limit', 'transcoding.enabled', 'transcoding.threads', | 29 | 'cache.previews.size', 'admin.email', 'signup.enabled', 'signup.limit', 'transcoding.enabled', 'transcoding.threads', |
26 | 'user.video_quota', 'smtp.hostname', 'smtp.port', 'smtp.username', 'smtp.password', 'smtp.tls', 'smtp.from_address', | 30 | 'instance.name', 'instance.short_description', 'instance.description', 'instance.terms', 'instance.default_client_route' |
27 | 'instance.name', 'instance.description', 'instance.terms' | ||
28 | ] | 31 | ] |
29 | const miss: string[] = [] | 32 | const miss: string[] = [] |
30 | 33 | ||