From 399f995ce9a562554f6cb4acdf4bcc090ff15c18 Mon Sep 17 00:00:00 2001 From: Nikita Karamov Date: Sat, 2 Sep 2023 23:35:04 +0200 Subject: [PATCH] Fix Netlify? Apparently Netlify doesn't split functions properly --- astro.config.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/astro.config.ts b/astro.config.ts index d7e85b7..f4138e9 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -31,9 +31,7 @@ if (process.env.VERCEL) { } else if (process.env.NETLIFY) { console.info("Using Netlify (Functions) adapter..."); adapterConfig = { - adapter: netlify({ - functionPerRoute: true, - }), + adapter: netlify(), }; } else if (process.argv.includes("--s2f-use-deno")) { console.info("Using Deno adapter...");