aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-02-18 11:07:08 +0100
committerChocobozzz <chocobozzz@cpy.re>2021-02-18 13:38:09 +0100
commitb3d5cb92b100406df98e5cd1f54eff9cd2078b1c (patch)
tree234c9b0b799424c1599af0dee27e84e4ad7240ff /server/controllers/api
parentd9a2a03196275065c28f4a0b7d4d7bc9992d77a1 (diff)
downloadPeerTube-b3d5cb92b100406df98e5cd1f54eff9cd2078b1c.tar.gz
PeerTube-b3d5cb92b100406df98e5cd1f54eff9cd2078b1c.tar.zst
PeerTube-b3d5cb92b100406df98e5cd1f54eff9cd2078b1c.zip
Add ability to update torrents cache in client
Diffstat (limited to 'server/controllers/api')
-rw-r--r--server/controllers/api/config.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/controllers/api/config.ts b/server/controllers/api/config.ts
index 5c242da04..fb108ca1c 100644
--- a/server/controllers/api/config.ts
+++ b/server/controllers/api/config.ts
@@ -395,6 +395,9 @@ function customConfig (): CustomConfig {
395 }, 395 },
396 captions: { 396 captions: {
397 size: CONFIG.CACHE.VIDEO_CAPTIONS.SIZE 397 size: CONFIG.CACHE.VIDEO_CAPTIONS.SIZE
398 },
399 torrents: {
400 size: CONFIG.CACHE.TORRENTS.SIZE
398 } 401 }
399 }, 402 },
400 signup: { 403 signup: {