dijs / wiki

Wikipedia Interface for Node.js
MIT License
315 stars 61 forks source link

support proxy through `https-proxy-agent` #169

Open lkyhfx opened 2 years ago

lkyhfx commented 2 years ago

Sometimes we may need to use behind proxy, I add this functionality by passing additional agent options to fetch. We can pass a agent object (from https-proxy-agent) when we call wiki().

jjinkou2 commented 2 years ago

i would really appreciate that this feature to be merged. i have tested it and it works