From b3d5cb92b100406df98e5cd1f54eff9cd2078b1c Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 18 Feb 2021 11:07:08 +0100 Subject: Add ability to update torrents cache in client --- shared/extra-utils/server/config.ts | 3 +++ shared/models/server/custom-config.model.ts | 4 ++++ 2 files changed, 7 insertions(+) (limited to 'shared') diff --git a/shared/extra-utils/server/config.ts b/shared/extra-utils/server/config.ts index efe569243..026a5e61c 100644 --- a/shared/extra-utils/server/config.ts +++ b/shared/extra-utils/server/config.ts @@ -90,6 +90,9 @@ function updateCustomSubConfig (url: string, token: string, newConfig: DeepParti }, captions: { size: 3 + }, + torrents: { + size: 4 } }, signup: { diff --git a/shared/models/server/custom-config.model.ts b/shared/models/server/custom-config.model.ts index 93b2d3417..0bccd63e3 100644 --- a/shared/models/server/custom-config.model.ts +++ b/shared/models/server/custom-config.model.ts @@ -59,6 +59,10 @@ export interface CustomConfig { captions: { size: number } + + torrents: { + size: number + } } signup: { -- cgit v1.2.3