mhart/aws4fetch

Add a possibility to give window.fetch custom options

julianxhokaxhiu opened this issue · 2 comments

Hi,

I am trying to use this library to integrate it in a custom frontend project, and i found out that there is no way to give custom options to window.fetch API through your library.

Can you please add this functionality? One use case I have is that I need to pass {mode: 'no-cors'} as I am trying to test some custom Lambda APIs I am working on at the moment.

Thank you in advance,
Julian

Same goes even if I need to enable cors by doing {mode: 'cors'}

I found out you actually pass it already. Nevermind, sorry for the issue.