@@ -0,0 +1,10 @@
|
||||
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(),
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user