This commit is contained in:
Henrik Larsson
2023-08-08 17:06:04 +02:00
parent 22aab2f657
commit 047e5fe566
16 changed files with 214 additions and 169 deletions

View File

@@ -83,7 +83,7 @@ draftMode().enable();
return new Response(null, {
status: 307,
headers: {
Location: `/${product.locale}/${product.slug}`,
Location: `/${product.locale}/product/${product.slug}`,
},
})
}
@@ -92,7 +92,7 @@ draftMode().enable();
return new Response(null, {
status: 307,
headers: {
Location: `/${category.locale}/${category.slug}`,
Location: `/${category.locale}/category/${category.slug}`,
},
})
}