Files
homarr/apps/nextjs/src/instrumentation.ts
T

7 lines
162 B
TypeScript

export async function register() {
if (process.env.NEXT_RUNTIME === "nodejs") {
await import("@homarr/tasks");
await import("@homarr/websocket");
}
}