Closed TylerOlthuizen closed 3 years ago
Getting a Cors issue that is causing a fetch error. Any way to add fetch options or 'Access-Control-Allow-Origin': '*',
import fetch from "isomorphic-fetch" import Client from "shopify-buy" const client = Client.buildClient( { domain: `sandbox-idrinkcoffee-com.myshopify.com/api/2021-01/graphql.json`, storefrontAccessToken: `MYTOKENKEY`, }, fetch, )
Getting a Cors issue that is causing a fetch error. Any way to add fetch options or 'Access-Control-Allow-Origin': '*',