Hey There!
As far as I can understand, your current implementation of node-fetch does not allow me to use a backend (read WP JSON rest endpoint) that is hosted on a self signed SSL certificate. I would like to be able to configure this option myself, since I locally run custom domain names that is not accessible through the internet and therefore I use self signed certificates.
FetchError: request to https://domain.se/wp-json/menus/v1/locations/primary_menu failed, reason: unable to verify the first certificate
Is this possible? If not, can this be added as a config option?