Skip to content

Commit

Permalink
Switch thumbnail source
Browse files Browse the repository at this point in the history
  • Loading branch information
barthuijgen committed Nov 18, 2024
1 parent f14d5fa commit 6314b5b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apps/blueprints/src/components/BlueprintTile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,12 @@ export const BlueprintTile: React.FC<BlueprintTileProps> = ({
<Box className="block">
<div className="image">
{imageError ? (
<div>The image is not generated yet, please be patient it will come soon.</div>
<div>The image is not generated yet.</div>
) : (
<Image
loader={({ src }) => 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}
Expand Down

0 comments on commit 6314b5b

Please sign in to comment.