feat(project): init

This commit is contained in:
zhangheng
2026-04-25 11:26:33 +08:00
commit 9bf212f67c
63 changed files with 11141 additions and 0 deletions

13
app/api/health/route.ts Normal file
View File

@@ -0,0 +1,13 @@
import { NextResponse } from "next/server";
import { appConfig } from "@/lib/config";
export const runtime = "nodejs";
export async function GET() {
return NextResponse.json({
ok: true,
configured: Boolean(appConfig.openAiApiKey),
model: appConfig.openAiImageModel,
timeoutMs: appConfig.openAiTimeoutMs,
});
}