Fix Netlify?

Apparently Netlify doesn't split functions properly
This commit is contained in:
Nikita Karamov 2023-09-02 23:35:04 +02:00
parent f4845de588
commit 399f995ce9
No known key found for this signature in database
GPG key ID: 41D6F71EE78E77CD

View file

@ -31,9 +31,7 @@ if (process.env.VERCEL) {
} else if (process.env.NETLIFY) { } else if (process.env.NETLIFY) {
console.info("Using Netlify (Functions) adapter..."); console.info("Using Netlify (Functions) adapter...");
adapterConfig = { adapterConfig = {
adapter: netlify({ adapter: netlify(),
functionPerRoute: true,
}),
}; };
} else if (process.argv.includes("--s2f-use-deno")) { } else if (process.argv.includes("--s2f-use-deno")) {
console.info("Using Deno adapter..."); console.info("Using Deno adapter...");