Skip to content

Commit 74a9329

Browse files
authored
chore: configure Vercel Speed Insights for docs project (#2536)
* chore: configure Vercel Speed Insights for docs project * chore: format code
1 parent ff73b9a commit 74a9329

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
import { injectSpeedInsights } from "@vercel/speed-insights"
22

33
if (typeof window !== "undefined") {
4-
injectSpeedInsights()
4+
injectSpeedInsights({
5+
scriptSrc:
6+
"https://docs-omega-six.vercel.app/_vercel/speed-insights/script.js",
7+
endpoint: "https://docs-omega-six.vercel.app/_vercel/speed-insights/vitals",
8+
})
59
}

0 commit comments

Comments
 (0)