diff options
Diffstat (limited to 'server/initializers/checker.ts')
-rw-r--r-- | server/initializers/checker.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/initializers/checker.ts b/server/initializers/checker.ts index 6a2badd35..6048151a3 100644 --- a/server/initializers/checker.ts +++ b/server/initializers/checker.ts | |||
@@ -41,7 +41,7 @@ function checkConfig () { | |||
41 | const redundancyVideos = config.get<VideosRedundancy[]>('redundancy.videos') | 41 | const redundancyVideos = config.get<VideosRedundancy[]>('redundancy.videos') |
42 | if (isArray(redundancyVideos)) { | 42 | if (isArray(redundancyVideos)) { |
43 | for (const r of redundancyVideos) { | 43 | for (const r of redundancyVideos) { |
44 | if ([ 'most-views' ].indexOf(r.strategy) === -1) { | 44 | if ([ 'most-views', 'trending' ].indexOf(r.strategy) === -1) { |
45 | return 'Redundancy video entries should have "most-views" strategy instead of ' + r.strategy | 45 | return 'Redundancy video entries should have "most-views" strategy instead of ' + r.strategy |
46 | } | 46 | } |
47 | } | 47 | } |