0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-27 22:19:04 -05:00

Update README.md: Fix incorrect import in example code (#8888)

This commit is contained in:
Kevin Cole 2023-10-23 05:14:02 -04:00 committed by GitHub
parent d5dc5ce04a
commit e69f7292d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -320,7 +320,7 @@ This is an opt-in feature, and the `edgeMiddleware` option needs to be set to `t
```js ```js
// astro.config.mjs // astro.config.mjs
import { defineConfig } from 'astro/config'; import { defineConfig } from 'astro/config';
import vercel from '@astrojs/vercel'; import vercel from '@astrojs/vercel/serverless';
export default defineConfig({ export default defineConfig({
output: 'server', output: 'server',
adapter: vercel({ adapter: vercel({