aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/instrumentation.ts
diff options
context:
space:
mode:
Diffstat (limited to 'apps/web/instrumentation.ts')
-rw-r--r--apps/web/instrumentation.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/web/instrumentation.ts b/apps/web/instrumentation.ts
new file mode 100644
index 00000000..41630756
--- /dev/null
+++ b/apps/web/instrumentation.ts
@@ -0,0 +1,5 @@
+export async function register() {
+ if (process.env.NEXT_RUNTIME === "nodejs") {
+ await import("./instrumentation.node");
+ }
+}