You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: