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