Open tomlober opened 5 years ago
Hello,
In react-apollo you set httplink with URL. How to set set this constant with shopify_domain vars ?
const httpLink = createHttpLink({ uri: MyURL })
const middlewareLink = setContext(() => ({ headers: { 'X-Shopify-Storefront-Access-Token': MyToken } }))
All the best,
ToM
Hello,
In react-apollo you set httplink with URL. How to set set this constant with shopify_domain vars ?
const httpLink = createHttpLink({ uri: MyURL })
const middlewareLink = setContext(() => ({ headers: { 'X-Shopify-Storefront-Access-Token': MyToken } }))
All the best,
ToM