This commit is contained in:
okbel
2021-02-24 19:32:03 -03:00
parent ddd5497ac5
commit 4de9b906f4
6 changed files with 10 additions and 4 deletions

View File

@@ -3,7 +3,7 @@ import fetchGraphqlApi from './utils/fetch-graphql-api'
export interface ShopifyConfig extends CommerceAPIConfig {}
// No I don't like this - will fix it later
// TODO(bc)
const API_URL =
process.env.SHOPIFY_STORE_DOMAIN ||
process.env.NEXT_PUBLIC_SHOPIFY_STORE_DOMAIN