Merge pull request #285 from turt2live/travis/validate-certificates

Validate certificates as per Matrix 1.0
This commit is contained in:
Travis Ralston 2019-06-11 10:14:32 -06:00 committed by GitHub
commit 4f92d56026
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -157,8 +157,6 @@ export async function doFederatedApiCall(method: string, serverName: string, end
url: federationInfo.url + endpoint,
qs: query,
json: body,
// TODO: Remove this for MSC1711 support
rejectUnauthorized: false, // allow self signed certs (for federation)
headers: {
"Host": federationInfo.hostname,
},