10 lines
248 B
TypeScript
10 lines
248 B
TypeScript
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());
|
|
},
|
|
};
|