mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
11 lines
265 B
TypeScript
11 lines
265 B
TypeScript
import { api } from "../../core/api/dynamic";
|
|
import { Tanks } from "../../protos/tanks";
|
|
|
|
/**
|
|
* Literally all the tanks in one place lmao.
|
|
*/
|
|
export async function GET() {
|
|
const tanks = await api.tanks();
|
|
return new Response(Tanks.encode(tanks).finish());
|
|
}
|