http icon indicating copy to clipboard operation
http copied to clipboard

Add custom fetch for Electron

Open jdgjsag67251 opened this issue 3 years ago • 2 comments

The default fetch method is restricted by the browser context in which the app runs. This means that all requests are subjected to CORS and other web security mechanisms. This can sometimes be a pain, so with this pull-request this library now uses node-fetch in Electron contexts.

jdgjsag67251 avatar Jan 06 '22 00:01 jdgjsag67251

Wow! This looks excellent. When I get some time, I'll test, approve, and merge it into the v1 branch. Thanks for your contribution 😄

thomasvidas avatar Jan 09 '22 01:01 thomasvidas

Any updates on this ?

AmirHmZz avatar Aug 13 '22 11:08 AmirHmZz