Add live dashboard telemetry bar
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import { NextResponse } from "next/server"
|
||||
import { readLiveTelemetrySnapshot } from "@/app/lib/liveTelemetry"
|
||||
|
||||
export async function GET() {
|
||||
return NextResponse.json(await readLiveTelemetrySnapshot(), {
|
||||
headers: { "Cache-Control": "no-store" },
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user