Skip to content

Commit

Permalink
Fix Netlify?
Browse files Browse the repository at this point in the history
Apparently Netlify doesn't split functions properly
  • Loading branch information
kytta committed Sep 2, 2023
1 parent f4845de commit 399f995
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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...");
Expand Down

0 comments on commit 399f995

Please sign in to comment.