7 lines
186 B
TypeScript
7 lines
186 B
TypeScript
export async function register() {
|
|
if (process.env.NEXT_RUNTIME === "nodejs") {
|
|
const { startCleanupScheduler } = await import("./lib/cleanup");
|
|
startCleanupScheduler();
|
|
}
|
|
}
|