iodide-project/iodide

add link to docs in fetch error messages (in case of CORS)

Open

#1396 aperta il 18 gen 2019

Vedi su GitHub
 (8 commenti) (0 reazioni) (0 assegnatari)JavaScript (147 fork)batch import
good first issue

Metriche repository

Star
 (1483 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

CORS issues are tricky and confusing. it would be great if we could let people know if they are hitting a CORS error in particular (rather than a fetch error in general) when they run into a CORS problem, and direct them to help / workarounds / more info.

(in investigating this, we might find that there are other kinds of errors we can surface/specify)

cc @hamilton

Guida contributor