diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-11-27 18:25:35 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-11-27 18:25:35 +0100 |
commit | 38d78e5b82a30d1318e3cc2532b7ea22b8e163fa (patch) | |
tree | 3c4cdab683caf1e30c6e76ba78efeb0431fec932 /server/models | |
parent | bf57d5eebf8b0fa2361b7973ce9772abd1bb4828 (diff) | |
download | PeerTube-38d78e5b82a30d1318e3cc2532b7ea22b8e163fa.tar.gz PeerTube-38d78e5b82a30d1318e3cc2532b7ea22b8e163fa.tar.zst PeerTube-38d78e5b82a30d1318e3cc2532b7ea22b8e163fa.zip |
Server: remove encryption when seending requests to other pods
We don't need it anymore since HTTPS is mandatory now
Diffstat (limited to 'server/models')
-rw-r--r-- | server/models/request.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/models/request.js b/server/models/request.js index 59bf440fe..c2cfe83ce 100644 --- a/server/models/request.js +++ b/server/models/request.js | |||
@@ -108,8 +108,7 @@ function makeRequest (toPod, requestEndpoint, requestsToMake, callback) { | |||
108 | 108 | ||
109 | const params = { | 109 | const params = { |
110 | toPod: toPod, | 110 | toPod: toPod, |
111 | encrypt: true, // Security | 111 | sign: true, // Prove our identity |
112 | sign: true, // To prove our identity | ||
113 | method: 'POST', | 112 | method: 'POST', |
114 | path: '/api/' + constants.API_VERSION + '/remote/' + requestEndpoint, | 113 | path: '/api/' + constants.API_VERSION + '/remote/' + requestEndpoint, |
115 | data: requestsToMake // Requests we need to make | 114 | data: requestsToMake // Requests we need to make |