mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-21 12:53:56 +01:00
bruh i am ignorant
This commit is contained in:
1 parent
b171ce2011
commit
408417ca68
3 files changed
+18
No files matched your search
@@ -0,0 +1,11 @@
|
||||
import { MapDefinitions } from "@blitzkit/core";
|
||||
import { api } from "../../../core/blitzkit/api";
|
||||
|
||||
export { getStaticPaths } from "../_index";
|
||||
|
||||
export async function GET() {
|
||||
const definitions = await api.mapDefinitions();
|
||||
const bytes = MapDefinitions.encode(definitions).finish();
|
||||
|
||||
return new Response(bytes);
|
||||
}
|
||||
Reference in new issue
Block a user