10 lines
248 B
TypeScript
Raw Normal View History

2023-08-13 00:34:03 +02:00
import { Handlers } from "$fresh/server.ts";
import { getPerformances } from "@lib/cache/performance.ts";
import { json } from "@lib/helpers.ts";
export const handler: Handlers = {
async GET() {
return json(await getPerformances());
},
};