aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils
diff options
context:
space:
mode:
Diffstat (limited to 'shared/extra-utils')
-rw-r--r--shared/extra-utils/server/config.ts14
1 files changed, 8 insertions, 6 deletions
diff --git a/shared/extra-utils/server/config.ts b/shared/extra-utils/server/config.ts
index 5152ec693..4e09e0412 100644
--- a/shared/extra-utils/server/config.ts
+++ b/shared/extra-utils/server/config.ts
@@ -69,12 +69,6 @@ function updateCustomSubConfig (url: string, token: string, newConfig: DeepParti
69 defaultNSFWPolicy: 'blur', 69 defaultNSFWPolicy: 'blur',
70 70
71 defaultClientRoute: '/videos/recently-added', 71 defaultClientRoute: '/videos/recently-added',
72 defaultTrendingRoute: '/videos/trending',
73 pages: {
74 hot: {
75 enabled: true
76 }
77 },
78 72
79 customizations: { 73 customizations: {
80 javascript: 'alert("coucou")', 74 javascript: 'alert("coucou")',
@@ -165,6 +159,14 @@ function updateCustomSubConfig (url: string, token: string, newConfig: DeepParti
165 } 159 }
166 } 160 }
167 }, 161 },
162 trending: {
163 videos: {
164 algorithms: {
165 enabled: [ 'hot', 'most-viewed', 'most-liked' ],
166 default: 'hot'
167 }
168 }
169 },
168 autoBlacklist: { 170 autoBlacklist: {
169 videos: { 171 videos: {
170 ofUsers: { 172 ofUsers: {