axios-fetch-adapter
axios-fetch-adapter copied to clipboard
Error on CloudFlare Workers
Error: The 'credentials' field on 'RequestInitializerDict' is not implemented.
at createRequest (VM4 worker.js:28479)
at fetchAdapter (VM4 worker.js:28354)
at dispatchRequest (VM4 worker.js:27722)
at async setup (VM4 worker.js:71161)
options.credentials = config.withCredentials ? 'include' : 'omit';
This has to be undefined in a CF worker as they don't implement options.credentials for some reason.