1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 10:19:35 +02:00

Add ability to update torrents cache in client

This commit is contained in:
Chocobozzz 2021-02-18 11:07:08 +01:00 committed by Chocobozzz
parent d9a2a03196
commit b3d5cb92b1
12 changed files with 41 additions and 4 deletions

View 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'),