feat: fix recipe hero layout

This commit is contained in:
2023-08-02 00:23:51 +02:00
parent ea11495d1a
commit ff3e7f6667
2 changed files with 19 additions and 24 deletions

View File

@ -1,14 +1,14 @@
import { HandlerContext, Handlers } from "$fresh/server.ts";
import {
ImageMagick,
initializeImageMagick,
initialize,
MagickGeometry,
} from "https://deno.land/x/imagemagick_deno@0.0.14/mod.ts";
} from "https://deno.land/x/imagemagick_deno@0.0.25/mod.ts";
import { parseMediaType } from "https://deno.land/std@0.175.0/media_types/parse_media_type.ts";
import * as cache from "@lib/cache/image.ts";
import { SILVERBULLET_SERVER } from "@lib/env.ts";
await initializeImageMagick();
await initialize();
async function getRemoteImage(image: string) {
console.log("[api/image] fetching", { image });