1
0
mirror of https://github.com/barthuijgen/factorio-sites.git synced 2024-11-21 18:16:33 +02:00

Switch full image renderer

This commit is contained in:
Bart Huijgen 2024-11-16 12:48:40 +01:00 committed by Bart
parent e796122bbb
commit a634b5f70f

View File

@ -39,7 +39,8 @@ export const BlueprintImage: React.FC<BlueprintImageProps> = ({
<ImageEditor string={string} onError={() => setRenderer("fbsr")}></ImageEditor>
) : (
<FullscreenImage
src={`https://fbsr.factorio.workers.dev/${blueprint_hash}?size=1000`}
// src={`https://fbsr.factorio.workers.dev/${blueprint_hash}?size=1000`}
src={`https://render.factorio.tools/render?url=https://factorioblueprints.tech/api/string/${blueprint_hash}`}
alt={label}
/>
);