mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-10-01 01:05:53 -04:00
parent
39365fd00e
commit
8f98716217
@ -60,6 +60,9 @@ export async function doFederatedApiCall(method: string, serverName: string, end
|
||||
qs: query,
|
||||
json: body,
|
||||
rejectUnauthorized: false, // allow self signed certs (for federation)
|
||||
headers: {
|
||||
"Host": serverName,
|
||||
},
|
||||
}, (err, res, _body) => {
|
||||
if (err) {
|
||||
LogService.error("matrix", "Error calling " + endpoint);
|
||||
|
Loading…
Reference in New Issue
Block a user