Allow edge functions

This commit is contained in:
Rotimi Best
2023-08-03 19:24:03 +01:00
parent f8b568cca8
commit 22e593c114
2 changed files with 4 additions and 4 deletions
+1
View File
@@ -5,3 +5,4 @@ yarn-error.log
.svelte-kit/ .svelte-kit/
.env .env
/dist/ /dist/
package-lock.json
+3 -4
View File
@@ -12,11 +12,10 @@ const config = {
adapter: adapter:
process.env.ADAPTER === 'NETLIFY' process.env.ADAPTER === 'NETLIFY'
? netlifyAdapter({ ? netlifyAdapter({
edge: false, edge: true
split: true,
}) })
: autoAdapter(), : autoAdapter()
}, }
}; };
export default config; export default config;