Files
location-mqtt-tracker-app/instrumentation.ts
2025-11-24 16:30:37 +00:00

10 lines
260 B
TypeScript

// 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();
}
}