Skip to main content

apps/web/app/.well-known/engine-status/route.ts

Metadata

Indexed Symbols

  • GET (line 6, function) - Implements get for module behavior.

Markdown Headings (if applicable)

No markdown headings detected.

Source Preview

import { NextResponse } from "next/server";

const sku = process.env.ENGINE_SKU ?? "0.1.0.API.DK.20260305";
const environment = process.env.NODE_ENV ?? "development";

export async function GET() {
return NextResponse.json({
state: "healthy",
message: "Web service status",
uptime: Math.floor(process.uptime()),
version: sku,
environment
});
}