-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
Hi, I am on Electron env. My calendar lib is located on the renderer process, therefore 'fetch' does throws CORS for Gmail/iCloud.
I am using XHR tunnel in my project for such cases, so that any XMLHttpRequest goes through tunnel to main thread and executes the request there.
Is there any standard way to tell this lib to use XHR instead of fetch? I did not find a quick way.
*Please do not suggest me to move the lib completely to main thread as we support all platforms and it's not quite easy to do, I'd rather implement manual patches in all request places if needed.
quanru
Metadata
Metadata
Assignees
Labels
No labels