mirror of
https://github.com/vercel/commerce.git
synced 2025-05-17 06:56: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 = (
|
export const normalizeProductImage = (
|
||||||
image: SyliusProductImage
|
image: SyliusProductImage
|
||||||
): ProductImage => ({
|
): ProductImage => ({
|
||||||
url: process.env.NEXT_PUBLIC_SYLIUS_ALLOWED_IMAGE_URL + image.path,
|
url: process.env.NEXT_PUBLIC_SYLIUS_API_URL + image.path,
|
||||||
})
|
})
|
||||||
|
|
||||||
const normalizeProductPrice = (
|
const normalizeProductPrice = (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user