feat(poc): try fix 404 error on prod dep

This commit is contained in:
Björn Meyer 2023-07-14 12:41:33 +02:00
parent ab2959fa15
commit 88f0016a1c

View File

@ -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', {});
} }