From c84f00abe20014b0cf0b4bfcbc4172c669bcfb10 Mon Sep 17 00:00:00 2001 From: Luis Ibarra Date: Fri, 27 Mar 2026 18:00:50 -0500 Subject: [PATCH 1/2] fix: update BetterBugs recording links to use new package URLs - Changed the script source URLs for BetterBugs recording links from `cdn.betterbugs.io` to `pkg.betterbugs.io`. - Updated the comment to include a direct link to BetterBugs documentation for workspace settings related to recording links. --- app/client/public/index.html | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/app/client/public/index.html b/app/client/public/index.html index 101041e32833..6820e792f01b 100755 --- a/app/client/public/index.html +++ b/app/client/public/index.html @@ -73,7 +73,7 @@ - + From f44e178864218c91961d9fffda99b2ad98a9af1f Mon Sep 17 00:00:00 2001 From: Luis Ibarra Date: Fri, 27 Mar 2026 18:10:43 -0500 Subject: [PATCH 2/2] refactor: replace var with const for script element declarations in index.html - Updated variable declarations for script elements from `var` to `const` to enhance code clarity and maintainability. --- app/client/public/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/client/public/index.html b/app/client/public/index.html index 6820e792f01b..168ec55479c5 100755 --- a/app/client/public/index.html +++ b/app/client/public/index.html @@ -81,11 +81,11 @@ successMessageHeaderText: "Information received", successMessageSubHeaderText: "Our support team will use it to review the issue", }; - var s1 = document.createElement("script"); + const s1 = document.createElement("script"); s1.src = "https://pkg.betterbugs.io/scripts/latest/logs-capture.js"; s1.async = false; document.head.appendChild(s1); - var s2 = document.createElement("script"); + const s2 = document.createElement("script"); s2.src = "https://pkg.betterbugs.io/scripts/latest/recorder.js"; s2.async = false; document.head.appendChild(s2);