It's a chrome extension that allow you to make cross-origin fetch.
- Install chrome extension Cross-Origin-Fetch.
- Use
CorsFetch()
likefetch()
, butCorsFetch()
can make cross-origin fetch. - Note that the response of
CorsFetch()
is a bit different fromfetch()
. You don't need to make another.then(response => response.json())
.