aboutsummaryrefslogtreecommitdiffhomepage
path: root/config/default.yaml
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2021-01-27 17:15:21 +0100
committerChocobozzz <chocobozzz@cpy.re>2021-01-28 15:55:34 +0100
commitba5d4a849c7d7ba05f093480ae12286c4af61556 (patch)
tree704a80b96d3b437ad12feacaaaf58a96b97282a1 /config/default.yaml
parent3da68f0a781ebd893521e2e6fa200280c92ae815 (diff)
downloadPeerTube-ba5d4a849c7d7ba05f093480ae12286c4af61556.tar.gz
PeerTube-ba5d4a849c7d7ba05f093480ae12286c4af61556.tar.zst
PeerTube-ba5d4a849c7d7ba05f093480ae12286c4af61556.zip
move from trending routes to alg param
Diffstat (limited to 'config/default.yaml')
-rw-r--r--config/default.yaml10
1 files changed, 6 insertions, 4 deletions
diff --git a/config/default.yaml b/config/default.yaml
index 43c7f4a53..b9e382fa7 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -106,6 +106,12 @@ log:
106trending: 106trending:
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
@@ -366,10 +372,6 @@ instance:
366# - 18 # Food 372# - 18 # Food
367 373
368 default_client_route: '/videos/trending' 374 default_client_route: '/videos/trending'
369 default_trending_route: '/videos/most-viewed'
370 pages:
371 hot:
372 enabled: true
373 375
374 # Whether or not the instance is dedicated to NSFW content 376 # Whether or not the instance is dedicated to NSFW content
375 # Enabling it will allow other administrators to know that you are mainly federating sensitive content 377 # Enabling it will allow other administrators to know that you are mainly federating sensitive content