feat(Wordpress Node): Add option to ignore error when using self signed certificates (#8199)

## Summary
Adds option to ignore SSL issues to the Wordpress node, This is useful
when using a self signed certificate in a local setup.


## Related tickets and issues
https://github.com/n8n-io/n8n/issues/8151
This commit is contained in:
Jon
2024-01-03 10:52:01 +00:00
committed by GitHub
parent 5c078f1b3d
commit 65c8e12b96
2 changed files with 9 additions and 0 deletions

View File

@@ -30,6 +30,7 @@ export async function wordpressApiRequest(
qs,
body,
uri: uri || `${credentials.url}/wp-json/wp/v2${resource}`,
rejectUnauthorized: !credentials.allowUnauthorizedCerts,
json: true,
};
options = Object.assign({}, options, option);