This commit is contained in:
2026-04-14 18:05:32 +08:00
parent 68457c9fbd
commit 6378ab4994
40 changed files with 10488 additions and 113 deletions
+11
View File
@@ -0,0 +1,11 @@
export async function register() {
if (process.env.NEXT_RUNTIME === "nodejs") {
const [{ ensureDb }, { startPoller }] = await Promise.all([
import("@/lib/db"),
import("@/lib/poller"),
]);
await ensureDb();
startPoller();
}
}