From 3da68f0a781ebd893521e2e6fa200280c92ae815 Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Tue, 26 Jan 2021 01:53:13 +0100 Subject: add default trending page choice, revert comments count for hot strategy --- shared/extra-utils/server/config.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'shared/extra-utils') 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 languages: [ 'en', 'es' ], categories: [ 1, 2 ], - defaultClientRoute: '/videos/recently-added', isNSFW: true, defaultNSFWPolicy: 'blur', + + defaultClientRoute: '/videos/recently-added', + defaultTrendingRoute: '/videos/trending', + pages: { + hot: { + enabled: true + } + }, + customizations: { javascript: 'alert("coucou")', css: 'body { background-color: red; }' -- cgit v1.2.3