mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-09-02 23:21:58 +00: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