mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +02:00
12 lines
328 B
TypeScript
12 lines
328 B
TypeScript
import { GameDefinitions } from "@blitzkit/core";
|
|
import { api } from "../../../../core/blitzkit/api";
|
|
|
|
export { getStaticPaths } from "../../_index";
|
|
|
|
export async function GET() {
|
|
const definitions = await api.gameDefinitions();
|
|
const bytes = GameDefinitions.encode(definitions).finish();
|
|
|
|
return new Response(bytes);
|
|
}
|