mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 12:09:51 +02:00
feat: list
This commit is contained in:
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());
|
||||||
|
}
|
||||||
Reference in new issue
Block a user