mirror of
https://github.com/vercel/commerce.git
synced 2025-06-19 13:41:22 +00:00
Improve image quality
This commit is contained in:
parent
ece74390f3
commit
43b0d01952
@ -8,7 +8,7 @@ export function normalizeSearchResult(item: SearchResultFragment): Product {
|
|||||||
description: item.description,
|
description: item.description,
|
||||||
slug: item.slug,
|
slug: item.slug,
|
||||||
path: item.slug,
|
path: item.slug,
|
||||||
images: [{ url: item.productAsset?.preview + '?preset=medium' || '' }],
|
images: [{ url: item.productAsset?.preview + '?w=800&mode=crop' || '' }],
|
||||||
variants: [],
|
variants: [],
|
||||||
price: {
|
price: {
|
||||||
value: (item.priceWithTax as any).min / 100,
|
value: (item.priceWithTax as any).min / 100,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user