developit / developit/redaxios

credentials not implemented for fetch in some environments such as cfw

Aperta
#64 2 commenti 7 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
4.9k
Fork
104
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.