From 00d3d1e34fd10fb7917cde3c5cd03a7bc628db4c Mon Sep 17 00:00:00 2001 From: Linus Flood Date: Mon, 4 Nov 2024 15:18:51 +0100 Subject: [PATCH] feat(image-loader): use correct netlify cdn domain --- components/Image.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/Image.tsx b/components/Image.tsx index dc40069cd..eca148c11 100644 --- a/components/Image.tsx +++ b/components/Image.tsx @@ -25,8 +25,7 @@ function imageLoader({ quality, src, width }: ImageLoaderProps) { return `${src}${hasQS ? "&" : "?"}w=${width}${quality ? "&q=" + quality : ""}` } - return `https://image-scandic-hotels.netlify.app/.netlify/images?url=${src}&w=${width}${quality ? "&q=" + quality : ""}` - //return `https://img.scandichotels.com/.netlify/images?url=${src}&w=${width}${quality ? "&q=" + quality : ""}` //TODO: use this when Daniel fixed DNS in citrix + return `https://img.scandichotels.com/.netlify/images?url=${src}&w=${width}${quality ? "&q=" + quality : ""}` } // Next/Image adds & instead of ? before the params