diff options
author | Chocobozzz <me@florianbigard.com> | 2023-07-19 16:02:49 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-07-21 17:38:13 +0200 |
commit | 12dc3a942a13c7f1489822dae052da197ef15905 (patch) | |
tree | 7b87b6be692af0b62ebac17e720c80244fd8a7ec /server/middlewares/validators/config.ts | |
parent | c6867725fb8e3dfbc2018a37ed5a963103587cb6 (diff) | |
download | PeerTube-12dc3a942a13c7f1489822dae052da197ef15905.tar.gz PeerTube-12dc3a942a13c7f1489822dae052da197ef15905.tar.zst PeerTube-12dc3a942a13c7f1489822dae052da197ef15905.zip |
Implement replace file in server side
Diffstat (limited to 'server/middlewares/validators/config.ts')
-rw-r--r-- | server/middlewares/validators/config.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/middlewares/validators/config.ts b/server/middlewares/validators/config.ts index a6dbba524..4c1aa26c1 100644 --- a/server/middlewares/validators/config.ts +++ b/server/middlewares/validators/config.ts | |||
@@ -65,6 +65,8 @@ const customConfigUpdateValidator = [ | |||
65 | body('videoStudio.enabled').isBoolean(), | 65 | body('videoStudio.enabled').isBoolean(), |
66 | body('videoStudio.remoteRunners.enabled').isBoolean(), | 66 | body('videoStudio.remoteRunners.enabled').isBoolean(), |
67 | 67 | ||
68 | body('videoFile.update.enabled').isBoolean(), | ||
69 | |||
68 | body('import.videos.concurrency').isInt({ min: 0 }), | 70 | body('import.videos.concurrency').isInt({ min: 0 }), |
69 | body('import.videos.http.enabled').isBoolean(), | 71 | body('import.videos.http.enabled').isBoolean(), |
70 | body('import.videos.torrent.enabled').isBoolean(), | 72 | body('import.videos.torrent.enabled').isBoolean(), |