Files
psalmtafel-webservice/instrumentation.ts
rudi 9aa94638d9 Migrated to Prisma
Migrated to the Prisma ORM.
Text TODO: Change code
2026-07-30 11:22:52 +02:00

9 lines
240 B
TypeScript

// instrumentation.ts ← Root des Projekts, neben package.json
export async function register() {
if (process.env.NEXT_RUNTIME === 'nodejs') {
const { initDB } = await import('@/lib/db/initDB')
await initDB()
}
}