ConusAI vendor 81941888f

This commit is contained in:
ConusAI vendor 81941888f
2026-10-07 08:47:51 +00:00
commit c3c6526952
135 changed files with 13010 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
import { sql } from 'drizzle-orm'
import { db, serverErrors, withRequest } from '@/shared/api'
// 200 when Postgres answers; the platform probes this path (health_check_path).
export const dynamic = 'force-dynamic'
export async function GET(request: Request) {
return withRequest(request, async () => {
try {
await db().execute(sql`select 1`)
return Response.json({ status: 'ok' })
} catch (error) {
serverErrors().captureException(error)
return Response.json({ status: 'unavailable' }, { status: 503 })
}
})
}
+3
View File
@@ -0,0 +1,3 @@
export const dynamic = 'force-dynamic'
export { AuditPage as default } from '@/views/audit'
+1
View File
@@ -0,0 +1 @@
export { RootLayout as default, metadata } from '@/app/layouts/root'
+1
View File
@@ -0,0 +1 @@
export { DashboardPage as default } from '@/views/dashboard'
+3
View File
@@ -0,0 +1,3 @@
export const dynamic = 'force-dynamic'
export { PlatformPage as default } from '@/views/platform'