0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00

[docs] remove confusing note added in wrong place (#4551)

This commit is contained in:
Sarah Rainsberger 2022-08-30 09:23:24 -03:00 committed by GitHub
parent 9adb7cca33
commit 00ea2267e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,15 +12,7 @@ This adapter allows Astro to deploy your SSR site to [Vercel](https://www.vercel
## Why Astro Vercel ## Why Astro Vercel
If you're using Astro as a static site builder — its behavior out of the box — you don't need an adapter. In order to return the correct status code for non existing pages, you must add the following config file at the root of your project: If you're using Astro as a static site builder — its behavior out of the box — you don't need an adapter.
__`vercel.json`__
```json
{
"cleanUrls": true,
"trailingSlash": false
}
```
If you wish to [use server-side rendering (SSR)](https://docs.astro.build/en/guides/server-side-rendering/), Astro requires an adapter that matches your deployment runtime. If you wish to [use server-side rendering (SSR)](https://docs.astro.build/en/guides/server-side-rendering/), Astro requires an adapter that matches your deployment runtime.