mirror of
https://github.com/vercel/commerce.git
synced 2025-06-19 05:31: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,
|
||||
slug: item.slug,
|
||||
path: item.slug,
|
||||
images: [{ url: item.productAsset?.preview + '?preset=medium' || '' }],
|
||||
images: [{ url: item.productAsset?.preview + '?w=800&mode=crop' || '' }],
|
||||
variants: [],
|
||||
price: {
|
||||
value: (item.priceWithTax as any).min / 100,
|
||||
|
Loading…
x
Reference in New Issue
Block a user