MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / GET

Function GET

freebuff/web/src/app/api/live/route.ts:8–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6export const revalidate = 0
7
8export async function GET() {
9 const stats = await getFreebuffLiveStats()
10 return NextResponse.json(stats, {
11 headers: {
12 'Cache-Control':
13 'public, max-age=0, s-maxage=60, stale-while-revalidate=30',
14 },
15 })
16}

Callers

nothing calls this directly

Calls 1

getFreebuffLiveStatsFunction · 0.90

Tested by

no test coverage detected