chore(next): upgrade preview and isolate dev services
This commit is contained in:
1 parent
ac73b9d891
commit
4ca0b747bb
9 files changed
+1651
-1437
No files matched your search
@@ -1,6 +1,7 @@
|
||||
export async function register() {
|
||||
if (process.env.NEXT_RUNTIME === "nodejs") {
|
||||
await import("@homarr/tasks");
|
||||
await import("@homarr/websocket");
|
||||
}
|
||||
if (process.env.NEXT_RUNTIME !== "nodejs") return;
|
||||
if (process.env.NODE_ENV !== "production") return;
|
||||
|
||||
await import("@homarr/tasks");
|
||||
await import("@homarr/websocket");
|
||||
}
|
||||
Reference in new issue
Block a user