From 111aab107618fa5e556fdde6de205c29b0b034f4 Mon Sep 17 00:00:00 2001 From: jaygiang Date: Wed, 29 Apr 2026 09:13:56 -0700 Subject: [PATCH 1/2] chore: configure Vercel Speed Insights for docs project --- src/clientModules/speedInsights.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/clientModules/speedInsights.tsx b/src/clientModules/speedInsights.tsx index 30de32856..28784ab92 100644 --- a/src/clientModules/speedInsights.tsx +++ b/src/clientModules/speedInsights.tsx @@ -1,5 +1,10 @@ import { injectSpeedInsights } from "@vercel/speed-insights" if (typeof window !== "undefined") { - injectSpeedInsights() + injectSpeedInsights({ + scriptSrc: + "https://docs-omega-six.vercel.app/_vercel/speed-insights/script.js", + endpoint: + "https://docs-omega-six.vercel.app/_vercel/speed-insights/vitals", + }) } From ef1305d6f898a7763fdc79607c21e773772ec99f Mon Sep 17 00:00:00 2001 From: jaygiang Date: Wed, 29 Apr 2026 09:24:47 -0700 Subject: [PATCH 2/2] chore: format code --- src/clientModules/speedInsights.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/clientModules/speedInsights.tsx b/src/clientModules/speedInsights.tsx index 28784ab92..7696fb5b5 100644 --- a/src/clientModules/speedInsights.tsx +++ b/src/clientModules/speedInsights.tsx @@ -4,7 +4,6 @@ if (typeof window !== "undefined") { injectSpeedInsights({ scriptSrc: "https://docs-omega-six.vercel.app/_vercel/speed-insights/script.js", - endpoint: - "https://docs-omega-six.vercel.app/_vercel/speed-insights/vitals", + endpoint: "https://docs-omega-six.vercel.app/_vercel/speed-insights/vitals", }) }