feat(Gotify Node): Add support for self signed certificates (#6053)

This commit is contained in:
Bram Kn
2023-05-18 18:34:33 +02:00
committed by GitHub
parent 000cacf736
commit 401cffde57
2 changed files with 14 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ export async function gotifyApiRequest(
qs,
uri: uri || `${credentials.url}${path}`,
json: true,
rejectUnauthorized: credentials.ignoreSSLIssues as boolean,
};
try {
if (Object.keys(body as IDataObject).length === 0) {