初始化模版工程

This commit is contained in:
Cloud Bot
2026-03-20 07:33:46 +00:00
commit 23717e0ecd
386 changed files with 51675 additions and 0 deletions

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

@@ -0,0 +1,24 @@
import { NextResponse } from 'next/server'
const corsHeaders = {
'Access-Control-Allow-Origin': '*',
'Access-Control-Allow-Methods': 'GET,OPTIONS',
'Access-Control-Allow-Headers': 'Content-Type, Authorization',
}
export async function GET() {
return NextResponse.json(
{ success: true, message: 'ok' },
{
status: 200,
headers: corsHeaders,
}
)
}
export async function OPTIONS() {
return new NextResponse(null, {
status: 204,
headers: corsHeaders,
})
}