mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-24 06:34:18 +01:00
blitz scripts
This commit is contained in:
1 parent
1733180f2c
commit
402b6d5113
8 files changed
+90
-302
No files matched your search
@@ -1,12 +1,13 @@
|
||||
import { ProvisionDefinitions } from "@blitzkit/core";
|
||||
import { api } from "../../../blitzkit/api";
|
||||
import { vfs } from "../../../core/blitzkit/vfs";
|
||||
|
||||
export { getStaticPaths } from "../_index";
|
||||
|
||||
export async function GET() {
|
||||
const definitions = await api.provisions();
|
||||
|
||||
return Response.json(definitions);
|
||||
return Response.json(await vfs.yaml("Data/Strings/en.yaml"));
|
||||
|
||||
const bytes = ProvisionDefinitions.encode(definitions).finish();
|
||||
|
||||
|
||||
Reference in new issue
Block a user