Fun fact: the node built in fetch dont reject unauthorized certs because back in the day, everyone used self-signed certs for testing. Now it’s just legacy baggage.
To fix it, you gotta use an `https.Agent` like everyone’s saying.
If you’re using TypeScript, definitely add a note to your codebase—this is the kind of thing that’ll bite you later.
To fix it, you gotta use an `https.Agent` like everyone’s saying.
If you’re using TypeScript, definitely add a note to your codebase—this is the kind of thing that’ll bite you later.
