1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 10:49:28 +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

@ -108,8 +108,7 @@ function makeRequest (toPod, requestEndpoint, requestsToMake, callback) {
const params = {
toPod: toPod,
encrypt: true, // Security
sign: true, // To prove our identity
sign: true, // Prove our identity
method: 'POST',
path: '/api/' + constants.API_VERSION + '/remote/' + requestEndpoint,
data: requestsToMake // Requests we need to make