Commit 6f83b8f2ff

6f83b8f2ff172640273dda2ecbd46f23da9fec86

parent: fc33d3855f

Unsigned

Alicia Sykes <alicia@omg.lol> · 2024-03-01 19:19 UTC

Updates how adapters are called, plus new screenshot grid

Layout: unified · split

.github/screenshots/grid.png

Binary file not shown.

web/astro.config.mjs +4 −4
@@ -25,13 +25,13 @@ const integrations = [svelte(), partytown(), sitemap()];
25 25
26// Set the appropriate adapter, based on the deploy target 26// Set the appropriate adapter, based on the deploy target
27const adapter = { 27const adapter = {
28 vercel: vercelAdapter(), 28 vercel: vercelAdapter,
29 netlify: netlifyAdapter(), 29 netlify: netlifyAdapter,
30 cloudflare: cloudflareAdapter(), 30 cloudflare: cloudflareAdapter,
31 node: nodeAdapter({ 31 node: nodeAdapter({
32 mode: 'standalone', 32 mode: 'standalone',
33 }), 33 }),
34}[deployTarget]; 34}[deployTarget]();
35 35
36// Export Astro configuration 36// Export Astro configuration
37export default defineConfig({ output, integrations, site, adapter }); 37export default defineConfig({ output, integrations, site, adapter });