Files
CertScope-Public/app/api/health/route.ts
T

13 lines
379 B
TypeScript

import { NextResponse } from "next/server";
import { CERTSCOPE_REVISION, CERTSCOPE_VERSION } from "@/lib/version";
export const runtime = "nodejs";
export const dynamic = "force-dynamic";
export function GET() {
return NextResponse.json(
{ status: "ok", version: CERTSCOPE_VERSION, revision: CERTSCOPE_REVISION },
{ headers: { "Cache-Control": "no-store" } },
);
}