mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-10-01 05:05:53 +00:00
Validate certificates as per Matrix 1.0
Fixes https://github.com/turt2live/matrix-dimension/issues/238 See https://matrix.org/blog/2019/05/24/final-countdown-to-1-0
This commit is contained in:
parent
be66dd04f9
commit
74cbe160db
@ -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,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user