0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-30 22:03:56 -05:00
astro/packages/integrations/vercel/test/fixtures/static/astro.config.mjs
Arsh 22a5405b4a
fix(vercel): include 404.html as fallback in the static adapter (#9591)
* include 404.html as fallback

* add changeset

* include only when 404.astro exists

* add test

* route.component -> route.pathname
2024-01-05 23:57:48 +05:30

6 lines
144 B
JavaScript

import { defineConfig } from 'astro/config';
import vercel from '@astrojs/vercel/static';
export default defineConfig({
adapter: vercel()
});