Files
buzz/app/api/amber/char/route.ts
T
dmgnr 5d9b75aa9b
Build and Push Image / docker (push) Successful in 5m49s
feat: rubgram manual submission creation
2026-06-02 23:43:00 +07:00

17 lines
335 B
TypeScript
Executable File

import { getAmberVh } from "@/lib/api";
export const revalidate = 3600;
export async function GET() {
return new Response(
await fetch(
`https://gi.yatta.moe/api/v2/en/avatar?vh=${await getAmberVh()}`,
).then((e) => e.text()),
{
headers: {
"Content-Type": "application/json",
},
},
);
}