From e7b781239052acfbf9e44138fd462c1d43d3bc06 Mon Sep 17 00:00:00 2001 From: Bart Huijgen Date: Mon, 18 Nov 2024 12:05:47 +0100 Subject: [PATCH] Switch thumbnail source --- apps/blueprints/src/components/BlueprintTile.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/blueprints/src/components/BlueprintTile.tsx b/apps/blueprints/src/components/BlueprintTile.tsx index 052c2b1..e9ce45e 100644 --- a/apps/blueprints/src/components/BlueprintTile.tsx +++ b/apps/blueprints/src/components/BlueprintTile.tsx @@ -118,11 +118,12 @@ export const BlueprintTile: React.FC = ({
{imageError ? ( -
The image is not generated yet, please be patient it will come soon.
+
The image is not generated yet.
) : ( src} - src={`https://storage.googleapis.com/blueprint-images/300/${blueprint.image_hash}.webp`} + // src={`https://storage.googleapis.com/blueprint-images/300/${blueprint.image_hash}.webp`} + src={`https://storage.factorio.tools/factorio-blueprint-images/thumbnail/${blueprint.image_hash}.webp`} layout="fill" objectFit="contain" alt={blueprint.title}