mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-10-01 01:05:53 -04:00
Merge pull request #285 from turt2live/travis/validate-certificates
Validate certificates as per Matrix 1.0
This commit is contained in:
commit
4f92d56026
@ -157,8 +157,6 @@ export async function doFederatedApiCall(method: string, serverName: string, end
|
|||||||
url: federationInfo.url + endpoint,
|
url: federationInfo.url + endpoint,
|
||||||
qs: query,
|
qs: query,
|
||||||
json: body,
|
json: body,
|
||||||
// TODO: Remove this for MSC1711 support
|
|
||||||
rejectUnauthorized: false, // allow self signed certs (for federation)
|
|
||||||
headers: {
|
headers: {
|
||||||
"Host": federationInfo.hostname,
|
"Host": federationInfo.hostname,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user