Files
web_hghl_h5/src/app/healthz/route.ts
T
谢宇宁andClaude Opus 5.5 61d0a11dfa Initial commit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:51:31 +07:00

11 lines
297 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import { NextResponse } from "next/server";
/** 部署健康检查(对齐 hkdj-web /healthz) */
export async function GET() {
return NextResponse.json({
status: "ok",
environment: process.env.APP_ENV || process.env.NODE_ENV || "unknown",
time: new Date().toISOString(),
});
}