parent
39365fd00e
commit
8f98716217
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue