move from trending routes to alg param

This commit is contained in:
Rigel Kent
2021-01-28 15:55:34 +01:00
committed by Chocobozzz
parent 3da68f0a78
commit ba5d4a849c
30 changed files with 211 additions and 396 deletions
+6 -4
View File
@@ -106,6 +106,12 @@ log:
trending:
videos:
interval_days: 7 # Compute trending videos for the last x days
algorithms:
enabled:
- 'hot' # adaptation of the Reddit 'Hot' algorithm
- 'most-viewed' # default, used initially by PeerTube as the trending page
- 'most-liked'
default: 'most-viewed'
# Cache remote videos on your server, to help other instances to broadcast the video
# You can define multiple caches using different sizes/strategies
@@ -380,10 +386,6 @@ instance:
# - 18 # Food
default_client_route: '/videos/trending'
default_trending_route: '/videos/most-viewed'
pages:
hot:
enabled: true
# Whether or not the instance is dedicated to NSFW content
# Enabling it will allow other administrators to know that you are mainly federating sensitive content