From cdb2ec8266188fa7d424f13a4c32c17f6a35f581 Mon Sep 17 00:00:00 2001 From: rylanharper Date: Sun, 24 Nov 2024 18:32:22 -0800 Subject: [PATCH] chore: cap srcset to 2000 --- app/components/common/shopify-image.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/common/shopify-image.vue b/app/components/common/shopify-image.vue index ac04132..c1e7844 100644 --- a/app/components/common/shopify-image.vue +++ b/app/components/common/shopify-image.vue @@ -11,7 +11,7 @@ const props = defineProps<{ // eslint-disable-next-line vue/return-in-computed-property const srcset = computed(() => { if (props.image?.url.includes('cdn.shopify.com')) { - const sizes = [400, 600, 800, 1000, 1200, 1400, 1600, 1800, 2000, 2200]; + const sizes = [400, 600, 800, 1000, 1200, 1400, 1600, 1800, 2000]; return sizes .map((width) => `${formatSizeUrl(props.image?.url, width)} ${width}w`)