mirror of
https://github.com/vercel/commerce.git
synced 2025-05-19 16:07:01 +00:00
feat(poc): try fix 404 error on prod dep
This commit is contained in:
parent
ab2959fa15
commit
88f0016a1c
@ -123,6 +123,16 @@ export async function requestSeoUrl(
|
|||||||
type: 'equals',
|
type: 'equals',
|
||||||
field: 'seoPathInfo',
|
field: 'seoPathInfo',
|
||||||
value: handle
|
value: handle
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: 'equals',
|
||||||
|
field: 'seoPathInfo',
|
||||||
|
value: decodeURI(handle) + '/'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: 'equals',
|
||||||
|
field: 'seoPathInfo',
|
||||||
|
value: decodeURI(handle)
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@ -145,4 +155,4 @@ export async function requestCrossSell(
|
|||||||
|
|
||||||
export async function requestCart() {
|
export async function requestCart() {
|
||||||
return apiInstance.invoke('readCart get /checkout/cart?name', {});
|
return apiInstance.invoke('readCart get /checkout/cart?name', {});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user