aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-01-06 16:43:15 +0100
committerChocobozzz <me@florianbigard.com>2020-01-06 17:10:02 +0100
commit04cda1d7a5f27429acde3ecd9c3c6e18a2b44aed (patch)
treef552ccf360f610f0c8dafe204f8a35022b1a00b4 /server
parentc10b638c4b52e9766ef68b58849ee0728647988f (diff)
downloadPeerTube-04cda1d7a5f27429acde3ecd9c3c6e18a2b44aed.tar.gz
PeerTube-04cda1d7a5f27429acde3ecd9c3c6e18a2b44aed.tar.zst
PeerTube-04cda1d7a5f27429acde3ecd9c3c6e18a2b44aed.zip
Add warning if admin disables webtorrent
Diffstat (limited to 'server')
-rw-r--r--server/middlewares/validators/config.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/middlewares/validators/config.ts b/server/middlewares/validators/config.ts
index d86fa700b..2d1f61947 100644
--- a/server/middlewares/validators/config.ts
+++ b/server/middlewares/validators/config.ts
@@ -45,7 +45,7 @@ const customConfigUpdateValidator = [
45 body('transcoding.resolutions.1080p').isBoolean().withMessage('Should have a valid transcoding 1080p resolution enabled boolean'), 45 body('transcoding.resolutions.1080p').isBoolean().withMessage('Should have a valid transcoding 1080p resolution enabled boolean'),
46 46
47 body('transcoding.webtorrent.enabled').isBoolean().withMessage('Should have a valid webtorrent transcoding enabled boolean'), 47 body('transcoding.webtorrent.enabled').isBoolean().withMessage('Should have a valid webtorrent transcoding enabled boolean'),
48 body('transcoding.hls.enabled').isBoolean().withMessage('Should have a valid webtorrent transcoding enabled boolean'), 48 body('transcoding.hls.enabled').isBoolean().withMessage('Should have a valid hls transcoding enabled boolean'),
49 49
50 body('import.videos.http.enabled').isBoolean().withMessage('Should have a valid import video http enabled boolean'), 50 body('import.videos.http.enabled').isBoolean().withMessage('Should have a valid import video http enabled boolean'),
51 body('import.videos.torrent.enabled').isBoolean().withMessage('Should have a valid import video torrent enabled boolean'), 51 body('import.videos.torrent.enabled').isBoolean().withMessage('Should have a valid import video torrent enabled boolean'),