feat: new file tree

This commit is contained in:
2025-11-23 05:34:49 +03:00
parent e96d589236
commit c22257fc40
7 changed files with 26 additions and 5861 deletions

View File

@@ -1,25 +0,0 @@
import { NextResponse } from 'next/server'
export async function GET() {
try {
// Basic health check
const health = {
status: 'healthy',
timestamp: new Date().toISOString(),
uptime: process.uptime(),
environment: process.env.NODE_ENV || 'development',
version: process.env.npm_package_version || '1.0.0',
}
return NextResponse.json(health, { status: 200 })
} catch (error) {
return NextResponse.json(
{
status: 'unhealthy',
error: error instanceof Error ? error.message : 'Unknown error',
timestamp: new Date().toISOString(),
},
{ status: 503 },
)
}
}