GoodDollar / GoodDAPP

GoodDollar.org Wallet is the simplest access point to Claim your daily G$. It Is based on web3 and React native web.
good-dapp.vercel.app
MIT License
100 stars 52 forks source link

fix: use fetch so we can override origin #4241

Closed sirpy closed 3 months ago

sirpy commented 3 months ago

Description

This fixes the issue #4239 of uploading images to the ipfsgateway ipfsgateway blocks calls by origin. Using fetch allows to override the origin header on react-native

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
goodwallet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 21, 2024 3:42pm
2 Ignored Deployments | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **gooddollar-delta** | ⬜️ Ignored ([Inspect](https://vercel.com/gooddollarteam/gooddollar-delta/DZUEGSEuFUdap3SzmTzooLNuK72s)) | | | Mar 21, 2024 3:42pm | | **goodid** | ⬜️ Ignored ([Inspect](https://vercel.com/gooddollarteam/goodid/8wsbQckHQWJumejY76QvxRhGnc6k)) | [Visit Preview](https://goodid-git-4329-switch-fetch-cors-gooddollarteam.vercel.app) | | Mar 21, 2024 3:42pm |