diff options
Diffstat (limited to 'config/production.yaml.example')
-rw-r--r-- | config/production.yaml.example | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/config/production.yaml.example b/config/production.yaml.example index f9f3abc18..b616c6ced 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -106,6 +106,12 @@ log: | |||
106 | trending: | 106 | trending: |
107 | videos: | 107 | videos: |
108 | interval_days: 7 # Compute trending videos for the last x days | 108 | interval_days: 7 # Compute trending videos for the last x days |
109 | algorithms: | ||
110 | enabled: | ||
111 | - 'hot' # adaptation of the Reddit 'Hot' algorithm | ||
112 | - 'most-viewed' # default, used initially by PeerTube as the trending page | ||
113 | - 'most-liked' | ||
114 | default: 'most-viewed' | ||
109 | 115 | ||
110 | # Cache remote videos on your server, to help other instances to broadcast the video | 116 | # Cache remote videos on your server, to help other instances to broadcast the video |
111 | # You can define multiple caches using different sizes/strategies | 117 | # You can define multiple caches using different sizes/strategies |
@@ -380,10 +386,6 @@ instance: | |||
380 | # - 18 # Food | 386 | # - 18 # Food |
381 | 387 | ||
382 | default_client_route: '/videos/trending' | 388 | default_client_route: '/videos/trending' |
383 | default_trending_route: '/videos/most-viewed' | ||
384 | pages: | ||
385 | hot: | ||
386 | enabled: true | ||
387 | 389 | ||
388 | # Whether or not the instance is dedicated to NSFW content | 390 | # Whether or not the instance is dedicated to NSFW content |
389 | # Enabling it will allow other administrators to know that you are mainly federating sensitive content | 391 | # Enabling it will allow other administrators to know that you are mainly federating sensitive content |