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