From f2bf4d34b74dba039389bf51d3efb324320a6465 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Meyer?= Date: Fri, 14 Jul 2023 12:49:26 +0200 Subject: [PATCH] feat(poc): try fix 404 error on prod dep --- lib/shopware/api.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/shopware/api.ts b/lib/shopware/api.ts index 35655a275..13892765f 100644 --- a/lib/shopware/api.ts +++ b/lib/shopware/api.ts @@ -127,12 +127,12 @@ export async function requestSeoUrl( { type: 'equals', field: 'seoPathInfo', - value: decodeURI(handle) + '/' + value: decodeURIComponent(handle) + '/' }, { type: 'equals', field: 'seoPathInfo', - value: decodeURI(handle) + value: decodeURIComponent(handle) } ] }