mirror of
https://github.com/vercel/commerce.git
synced 2025-05-17 15:06:59 +00:00
Change API endpoint
Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
This commit is contained in:
parent
499b33d91a
commit
3bf6ba11f6
@ -24,7 +24,7 @@ export interface OpenCommerceConfig extends CommerceAPIConfig {
|
|||||||
const ONE_DAY = 60 * 60 * 24
|
const ONE_DAY = 60 * 60 * 24
|
||||||
|
|
||||||
const config: OpenCommerceConfig = {
|
const config: OpenCommerceConfig = {
|
||||||
commerceUrl: `${API_URL}/graphql`,
|
commerceUrl: API_URL,
|
||||||
apiToken: '',
|
apiToken: '',
|
||||||
shopId: SHOP_ID ?? '',
|
shopId: SHOP_ID ?? '',
|
||||||
customerCookie: 'opencommerce_customerToken',
|
customerCookie: 'opencommerce_customerToken',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user