Skip to content

Commit 29f2d14

Browse files
committed
add uploads.guimcode to iscodegrid url check
1 parent 8a5b4c9 commit 29f2d14

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

dotcom-rendering/src/lib/image.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ const getServiceFromUrl = (url: URL): string => {
5050
}
5151
};
5252

53-
const isCodeGridUrl = (url: URL) => url.hostname === 'media.guimcode.co.uk';
53+
const isCodeGridUrl = (url: URL) =>
54+
url.hostname === 'media.guimcode.co.uk' || 'uploads.guimcode.co.uk';
5455

5556
/**
5657
* Generates a URL for calling the Fastly Image Optimiser.

0 commit comments

Comments
 (0)