mirror of
https://github.com/vercel/commerce.git
synced 2025-05-16 14:36:59 +00:00
fix: use correct env var for image
This commit is contained in:
parent
0c180869b1
commit
2f78d3a75d
@ -112,7 +112,7 @@ const normalizeProductOptionValue = (
|
||||
export const normalizeProductImage = (
|
||||
image: SyliusProductImage
|
||||
): ProductImage => ({
|
||||
url: process.env.NEXT_PUBLIC_SYLIUS_ALLOWED_IMAGE_URL + image.path,
|
||||
url: process.env.NEXT_PUBLIC_SYLIUS_API_URL + image.path,
|
||||
})
|
||||
|
||||
const normalizeProductPrice = (
|
||||
|
Loading…
x
Reference in New Issue
Block a user