diff options
author | Chocobozzz <me@florianbigard.com> | 2021-02-18 11:07:08 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-02-18 13:38:09 +0100 |
commit | b3d5cb92b100406df98e5cd1f54eff9cd2078b1c (patch) | |
tree | 234c9b0b799424c1599af0dee27e84e4ad7240ff /shared | |
parent | d9a2a03196275065c28f4a0b7d4d7bc9992d77a1 (diff) | |
download | PeerTube-b3d5cb92b100406df98e5cd1f54eff9cd2078b1c.tar.gz PeerTube-b3d5cb92b100406df98e5cd1f54eff9cd2078b1c.tar.zst PeerTube-b3d5cb92b100406df98e5cd1f54eff9cd2078b1c.zip |
Add ability to update torrents cache in client
Diffstat (limited to 'shared')
-rw-r--r-- | shared/extra-utils/server/config.ts | 3 | ||||
-rw-r--r-- | shared/models/server/custom-config.model.ts | 4 |
2 files changed, 7 insertions, 0 deletions
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 | |||
90 | }, | 90 | }, |
91 | captions: { | 91 | captions: { |
92 | size: 3 | 92 | size: 3 |
93 | }, | ||
94 | torrents: { | ||
95 | size: 4 | ||
93 | } | 96 | } |
94 | }, | 97 | }, |
95 | signup: { | 98 | 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 { | |||
59 | captions: { | 59 | captions: { |
60 | size: number | 60 | size: number |
61 | } | 61 | } |
62 | |||
63 | torrents: { | ||
64 | size: number | ||
65 | } | ||
62 | } | 66 | } |
63 | 67 | ||
64 | signup: { | 68 | signup: { |