diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2021-01-26 01:53:13 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-01-28 15:55:34 +0100 |
commit | 3da68f0a781ebd893521e2e6fa200280c92ae815 (patch) | |
tree | 11bddf841118703c725a96851318603407fd581d /shared/extra-utils/server/config.ts | |
parent | 28eeb811c40325a28208231324f66f4032e5cf67 (diff) | |
download | PeerTube-3da68f0a781ebd893521e2e6fa200280c92ae815.tar.gz PeerTube-3da68f0a781ebd893521e2e6fa200280c92ae815.tar.zst PeerTube-3da68f0a781ebd893521e2e6fa200280c92ae815.zip |
add default trending page choice, revert comments count for hot strategy
Diffstat (limited to 'shared/extra-utils/server/config.ts')
-rw-r--r-- | shared/extra-utils/server/config.ts | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/shared/extra-utils/server/config.ts b/shared/extra-utils/server/config.ts index f7c488c0b..5152ec693 100644 --- a/shared/extra-utils/server/config.ts +++ b/shared/extra-utils/server/config.ts | |||
@@ -65,9 +65,17 @@ function updateCustomSubConfig (url: string, token: string, newConfig: DeepParti | |||
65 | languages: [ 'en', 'es' ], | 65 | languages: [ 'en', 'es' ], |
66 | categories: [ 1, 2 ], | 66 | categories: [ 1, 2 ], |
67 | 67 | ||
68 | defaultClientRoute: '/videos/recently-added', | ||
69 | isNSFW: true, | 68 | isNSFW: true, |
70 | defaultNSFWPolicy: 'blur', | 69 | defaultNSFWPolicy: 'blur', |
70 | |||
71 | defaultClientRoute: '/videos/recently-added', | ||
72 | defaultTrendingRoute: '/videos/trending', | ||
73 | pages: { | ||
74 | hot: { | ||
75 | enabled: true | ||
76 | } | ||
77 | }, | ||
78 | |||
71 | customizations: { | 79 | customizations: { |
72 | javascript: 'alert("coucou")', | 80 | javascript: 'alert("coucou")', |
73 | css: 'body { background-color: red; }' | 81 | css: 'body { background-color: red; }' |