From 5759ce839831c1e7768c683969cb7621149f2527 Mon Sep 17 00:00:00 2001 From: Arsh <69170106+lilnasy@users.noreply.github.com> Date: Thu, 4 Jan 2024 02:26:56 +0530 Subject: [PATCH] Update vercel.mdx - Vercel Speed Insights API is deprecated --- .../en/guides/integrations-guide/vercel.mdx | 23 ------------------- 1 file changed, 23 deletions(-) diff --git a/src/content/docs/en/guides/integrations-guide/vercel.mdx b/src/content/docs/en/guides/integrations-guide/vercel.mdx index 35a0493b3220a..a07a82c73be2a 100644 --- a/src/content/docs/en/guides/integrations-guide/vercel.mdx +++ b/src/content/docs/en/guides/integrations-guide/vercel.mdx @@ -130,29 +130,6 @@ export default defineConfig({ }); ``` -### Speed Insights - -You can enable [Vercel Speed Insights](https://vercel.com/docs/concepts/speed-insights) by setting `speedInsights: { enabled: true }`. This will collect and send Web Vital data to Vercel. - -**Type:** `VercelSpeedInsightsConfig`
-**Available for:** Serverless, Static
- - -```js title="astro.config.mjs" ins={8-10} -import { defineConfig } from 'astro/config'; -import vercel from '@astrojs/vercel/serverless'; - -export default defineConfig({ - // ... - output: 'server', - adapter: vercel({ - speedInsights: { - enabled: true, - }, - }), -}); -``` - ### imagesConfig **Type:** `VercelImageConfig`