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