Allow edge functions
This commit is contained in:
@@ -5,3 +5,4 @@ yarn-error.log
|
|||||||
.svelte-kit/
|
.svelte-kit/
|
||||||
.env
|
.env
|
||||||
/dist/
|
/dist/
|
||||||
|
package-lock.json
|
||||||
|
|||||||
+3
-4
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user