mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
flatten structure
This commit is contained in:
1 parent
050cb7a834
commit
734db0957e
32 files changed
+34
-30
No files matched your search
@@ -0,0 +1,11 @@
|
||||
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);
|
||||
}
|
||||
Reference in new issue
Block a user