mirror of
https://github.com/vercel/commerce.git
synced 2025-05-15 14:06:59 +00:00
change cache behavior
This commit is contained in:
parent
e3f654c3ea
commit
585273ebc7
@ -56,7 +56,7 @@ const key = process.env.SHOPIFY_STOREFRONT_ACCESS_TOKEN!;
|
|||||||
type ExtractVariables<T> = T extends { variables: object } ? T['variables'] : never;
|
type ExtractVariables<T> = T extends { variables: object } ? T['variables'] : never;
|
||||||
|
|
||||||
export async function shopifyFetch<T>({
|
export async function shopifyFetch<T>({
|
||||||
cache = 'force-cache',
|
cache = 'no-cache',
|
||||||
headers,
|
headers,
|
||||||
query,
|
query,
|
||||||
tags,
|
tags,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user