feat: some shit
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import { HandlerContext } from "$fresh/server.ts";
|
||||
import { getDocument } from "../../../lib/documents.ts";
|
||||
import { parseRecipe } from "../../../lib/recipes.ts";
|
||||
import { getDocument } from "@lib/documents.ts";
|
||||
import { parseRecipe } from "@lib/recipes.ts";
|
||||
|
||||
export async function getRecipe(name: string) {
|
||||
const document = await getDocument(`Recipes/${name}.md`);
|
||||
|
@ -5,7 +5,7 @@ import {
|
||||
MagickGeometry,
|
||||
} from "https://deno.land/x/imagemagick_deno@0.0.14/mod.ts";
|
||||
import { parseMediaType } from "https://deno.land/std@0.175.0/media_types/parse_media_type.ts";
|
||||
import * as cache from "../../../../lib/cache.ts";
|
||||
import * as cache from "@lib/cache.ts";
|
||||
|
||||
await initializeImageMagick();
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { HandlerContext } from "$fresh/server.ts";
|
||||
import { getDocument, getDocuments } from "../../../lib/documents.ts";
|
||||
import { parseRecipe } from "../../../lib/recipes.ts";
|
||||
import { getDocument, getDocuments } from "@lib/documents.ts";
|
||||
import { parseRecipe } from "@lib/recipes.ts";
|
||||
|
||||
export async function getRecipes() {
|
||||
const documents = await getDocuments();
|
||||
|
Reference in New Issue
Block a user