mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-24 06:34:18 +01:00
some api paths
This commit is contained in:
1 parent
b060e65af5
commit
b2fd85a5b0
13 files changed
+106
-21
No files matched your search
@@ -0,0 +1,11 @@
|
||||
import { ProvisionDefinitions } from "@blitzkit/core";
|
||||
import { api } from "../../../core/blitzkit/api";
|
||||
|
||||
export { getStaticPaths } from "../_index";
|
||||
|
||||
export async function GET() {
|
||||
const definitions = await api.provisionDefinitions();
|
||||
const bytes = ProvisionDefinitions.encode(definitions).finish();
|
||||
|
||||
return new Response(bytes);
|
||||
}
|
||||
Reference in new issue
Block a user