Skip to content

Commit

Permalink
Update vercel.mdx - Vercel Speed Insights API is deprecated (#6082)
Browse files Browse the repository at this point in the history
  • Loading branch information
lilnasy authored and ematipico committed Jan 26, 2024
1 parent b58da62 commit f7ffa05
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions src/content/docs/en/guides/integrations-guide/vercel.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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`<br/>
**Available for:** Serverless, Static<br/>
<Since v="3.8.0" pkg="@astrojs/vercel" />
```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`<br/>
Expand Down

0 comments on commit f7ffa05

Please sign in to comment.