From ed1d616c74248c03f09529e2e8d8cc975d55807a Mon Sep 17 00:00:00 2001
From: Maria Ghiondea <11394867+mariaghiondea@users.noreply.github.com>
Date: Fri, 3 Jan 2025 16:18:26 -0800
Subject: [PATCH] =?UTF-8?q?Change=20references=20of=20=E2=80=9Caz416426.vo?=
=?UTF-8?q?.msecndnet=E2=80=9D=20to=20=E2=80=9Cjs.monitor.azure.com?=
=?UTF-8?q?=E2=80=9D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Needed for CDN update. See microsoft/ApplicationInsights-JS#2457 for full details.
---
src/NuGetGallery/App_Code/ViewHelpers.cshtml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/NuGetGallery/App_Code/ViewHelpers.cshtml b/src/NuGetGallery/App_Code/ViewHelpers.cshtml
index 1dfe0ee0c1..5907b420a5 100644
--- a/src/NuGetGallery/App_Code/ViewHelpers.cshtml
+++ b/src/NuGetGallery/App_Code/ViewHelpers.cshtml
@@ -280,7 +280,7 @@
}
var t = { config: config }, r = document, f = window, e = "script", o = r.createElement(e), i, u;
- for (o.src = config.url || "//az416426.vo.msecnd.net/scripts/a/ai.0.js", r.getElementsByTagName(e)[0].parentNode.appendChild(o), t.cookie = r.cookie, t.queue = [], i = ["Event", "Exception", "Metric", "PageView", "Trace"]; i.length;) s("track" + i.pop());
+ for (o.src = config.url || "//js.monitor.azure.com/scripts/a/ai.0.js", r.getElementsByTagName(e)[0].parentNode.appendChild(o), t.cookie = r.cookie, t.queue = [], i = ["Event", "Exception", "Metric", "PageView", "Trace"]; i.length;) s("track" + i.pop());
return config.disableExceptionTracking || (i = "onerror", s("_" + i), u = f[i], f[i] = function (config, r, f, e, o) {
var s = u && u(config, r, f, e, o);
return s !== !0 && t["_" + i](config, r, f, e, o), s
@@ -745,4 +745,4 @@ var hlp = new AccordionHelper(name, formModelStatePrefix, expanded, page);
-}
\ No newline at end of file
+}