feat: use marka api in all apis

This commit is contained in:
Max Richter
2025-10-31 16:23:20 +01:00
parent 79d692c2c6
commit 1f67f8af34
10 changed files with 85 additions and 198 deletions

View File

@@ -1,6 +1,10 @@
import { Handlers } from "$fresh/server.ts";
import { json } from "@lib/helpers.ts";
import { fetchResource } from "@lib/marka.ts";
export const handler: Handlers = {
async GET() {
const series = await fetchResource("series");
return json(series);
},
};