feat: initialize SQLite with versioned migrations and sample content
This commit is contained in:
6
src/instrumentation.ts
Normal file
6
src/instrumentation.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export async function register() {
|
||||
if (process.env.NEXT_RUNTIME === 'nodejs' && process.env.NEXT_PHASE !== 'phase-production-build') {
|
||||
const { initialize } = await import('./server/initialize');
|
||||
initialize();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user