1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 02:39:33 +02:00

Server: remove encryption when seending requests to other pods

We don't need it anymore since HTTPS is mandatory now
This commit is contained in:
Chocobozzz 2016-11-27 18:25:35 +01:00
parent bf57d5eebf
commit 38d78e5b82
6 changed files with 7 additions and 101 deletions

View file

@ -15,9 +15,7 @@ const Video = mongoose.model('Video')
router.post('/videos',
validators.signature,
validators.dataToDecrypt,
secureMiddleware.checkSignature,
secureMiddleware.decryptBody,
validators.remoteVideos,
remoteVideos
)