developit / developit/redaxios

credentials not implemented for fetch in some environments such as cfw

Open
#64 2 comments 7 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
4.9k
Forks
104
PR merge metrics
No merged PRs in 30d

Description

When trying to use redaxios on CloudFlare Workers it will throw the following error:
```
The 'credentials' field on 'RequestInitializerDict' is not implemented.
```
As the default is same-origin for credentials this could probably be worked around by not passing a credentials property when `withCredentials` is set to false:
https://developer.mozilla.org/en-US/docs/Web/API/Request/credentials

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.