9 lines
240 B
TypeScript
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()
|
|
}
|
|
}
|