feat: list

This commit is contained in:
TrèsAbhi committed 2025-12-26 19:43:44 -06:00
1 parent a86ac0619a
commit 01409985a2
1 file changed
+10
@@ -0,0 +1,10 @@
import { api } from "../../../core/api/dynamic";
import { TankList } from "../../../protos/tank_list";
/**
* Literally all the tanks in one place lmao.
*/
export async function GET() {
const list = await api.tankList();
return new Response(TankList.encode(list).finish());
}