Skip to content

Commit

Permalink
add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lilnasy committed Oct 30, 2023
1 parent 1c9c7dc commit 2e89c2e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions packages/integrations/vercel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,26 @@ export default defineConfig({
});
```
### streaming
**Type:** `boolean`<br>
**Available for:** Serverless
Use this property to set whether the serverless function will stream the response to the browser.
```diff lang="js"
// astro.config.mjs
import { defineConfig } from 'astro/config';
import vercel from '@astrojs/vercel/serverless';
export default defineConfig({
output: "server",
adapter: vercel({
+ streaming: true
}),
});
```
### Function bundling configuration
The Vercel adapter combines all of your routes into a single function by default.
Expand Down

0 comments on commit 2e89c2e

Please sign in to comment.