mirror of
https://github.com/formbricks/formbricks.git
synced 2026-05-07 06:12:46 -05:00
fix: use t3-env
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
import { env } from "@formbricks/lib/env";
|
||||
|
||||
export async function register() {
|
||||
if (process.env.NEXT_RUNTIME === "nodejs" && process.env.OPENTELEMETRY_LISTENER_URL) {
|
||||
if (process.env.NEXT_RUNTIME === "nodejs" && env.OPENTELEMETRY_LISTENER_URL) {
|
||||
const { startInstrumentationForNode } = await import("./instrumentation.node");
|
||||
|
||||
startInstrumentationForNode(process.env.OPENTELEMETRY_LISTENER_URL);
|
||||
startInstrumentationForNode(env.OPENTELEMETRY_LISTENER_URL);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user