From 23b4145565a45b492afd0890f05868f00e931317 Mon Sep 17 00:00:00 2001
From: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com>
Date: Fri, 14 Apr 2023 16:51:24 +0530
Subject: [PATCH] chore: added session recorder key to env (#827)
---
apps/app/pages/_document.tsx | 4 ++--
turbo.json | 3 ++-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/apps/app/pages/_document.tsx b/apps/app/pages/_document.tsx
index a257f649f..24f3068c9 100644
--- a/apps/app/pages/_document.tsx
+++ b/apps/app/pages/_document.tsx
@@ -13,7 +13,7 @@ class MyDocument extends Document {
- {isSessionRecorderEnabled && (
+ {isSessionRecorderEnabled && process.env.NEXT_PUBLIC_SESSION_RECORDER_KEY && (
)}
diff --git a/turbo.json b/turbo.json
index e952768a1..c75159980 100644
--- a/turbo.json
+++ b/turbo.json
@@ -14,7 +14,8 @@
"NEXT_PUBLIC_TRACK_EVENTS",
"TRACKER_ACCESS_KEY",
"NEXT_PUBLIC_CRISP_ID",
- "NEXT_PUBLIC_ENABLE_SESSION_RECORDER"
+ "NEXT_PUBLIC_ENABLE_SESSION_RECORDER",
+ "NEXT_PUBLIC_SESSION_RECORDER_KEY"
],
"pipeline": {
"build": {