]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/middlewares/validators/config.ts
Agnostic actor image storage
[github/Chocobozzz/PeerTube.git] / server / middlewares / validators / config.ts
index 71098ff9941e8ab24668d9689853bffc2251dac7..a85883b19e5a31f26d72b354f34c3b1acc40ad0a 100644 (file)
@@ -25,6 +25,7 @@ const customConfigUpdateValidator = [
 
   body('cache.previews.size').isInt().withMessage('Should have a valid previews cache size'),
   body('cache.captions.size').isInt().withMessage('Should have a valid captions cache size'),
+  body('cache.torrents.size').isInt().withMessage('Should have a valid torrents cache size'),
 
   body('signup.enabled').isBoolean().withMessage('Should have a valid signup enabled boolean'),
   body('signup.limit').isInt().withMessage('Should have a valid signup limit'),