Updates how adapters are called, plus new screenshot grid
This commit is contained in:
parent
fc33d3855f
commit
6f83b8f2ff
Binary file not shown.
Before Width: | Height: | Size: 3.0 MiB After Width: | Height: | Size: 2.6 MiB |
|
@ -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 });
|
||||
|
|
Loading…
Reference in New Issue