feat: add CI unit test, /api/health, Dockerfile HEALTHCHECK, bundle-analyzer

This commit is contained in:
SpecialX
2026-07-07 20:23:03 +08:00
parent 415dde9122
commit dbb124bf17
7 changed files with 244 additions and 14 deletions

View File

@@ -0,0 +1,10 @@
import { NextResponse } from "next/server"
export const dynamic = "force-dynamic"
export async function GET(): Promise<NextResponse<{ status: string; timestamp: string }>> {
return NextResponse.json({
status: "ok",
timestamp: new Date().toISOString(),
})
}