apps/web/app/.well-known/engine-status/route.ts
Metadata
- Purpose: Web app route or page component for operator/client experience.
- Domain:
applications - Language:
ts - Bytes: 368
- Lines: 15
- Content hash (short):
4658083b - Source (start): apps/web/app/.well-known/engine-status/route.ts:1
- Source (end): apps/web/app/.well-known/engine-status/route.ts:15
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
});
}