Updates how adapters are called, plus new screenshot grid

This commit is contained in:
Alicia Sykes 2024-03-01 19:19:22 +00:00
parent fc33d3855f
commit 6f83b8f2ff
2 changed files with 4 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 MiB

After

Width:  |  Height:  |  Size: 2.6 MiB

View File

@ -25,13 +25,13 @@ const integrations = [svelte(), partytown(), sitemap()];
// Set the appropriate adapter, based on the deploy target
const adapter = {
vercel: vercelAdapter(),
netlify: netlifyAdapter(),
cloudflare: cloudflareAdapter(),
vercel: vercelAdapter,
netlify: netlifyAdapter,
cloudflare: cloudflareAdapter,
node: nodeAdapter({
mode: 'standalone',
}),
}[deployTarget];
}[deployTarget]();
// Export Astro configuration
export default defineConfig({ output, integrations, site, adapter });