mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 02:09:37 +02:00
Add ability to update torrents cache in client
This commit is contained in:
parent
d9a2a03196
commit
b3d5cb92b1
12 changed files with 41 additions and 4 deletions
|
@ -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'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue