mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +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