Skip to content

Expose agent property of node-fetch #3530

Closed Answered by TekSiDoT
TekSiDoT asked this question in Q&A
Discussion options

You must be logged in to vote

After doing some more digging:

  • Remix doesn't actually wrap node-fetch, instead, it uses a for of web-std-io as a source for its @remix-run/web-fetch package
  • Setting the node env variable NODE_TLS_REJECT_UNAUTHORIZED circumvents the problem - at least for us it's good enough for local dev

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by TekSiDoT
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants