first commit
This commit is contained in:
9
instrumentation.ts
Normal file
9
instrumentation.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
// Next.js Instrumentation Hook
|
||||
// Wird beim Server-Start einmalig ausgeführt
|
||||
|
||||
export async function register() {
|
||||
if (process.env.NEXT_RUNTIME === 'nodejs') {
|
||||
const { initializeServices } = await import('./lib/startup');
|
||||
initializeServices();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user