release: 2026-08-01
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
export async function register() {
|
||||
// Only run on the Node.js server runtime, not in the browser/edge
|
||||
if (process.env.NEXT_RUNTIME === "nodejs") {
|
||||
try {
|
||||
const { ensureGlobalRunnerStarted } = await import("@/lib/linkedin/runner");
|
||||
ensureGlobalRunnerStarted();
|
||||
} catch (err) {
|
||||
console.error("[instrumentation] Failed to start runner:", err);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user