Disable csrf checkOrigin to fix newsletter form submission

This commit is contained in:
2022-12-23 20:41:09 +01:00
parent 2f54b14a5c
commit d604d892e2

View File

@@ -17,6 +17,9 @@ const config = {
}),
kit: {
csrf: {
checkOrigin: false
},
adapter: adapter({
edge: true
}),
@@ -27,7 +30,6 @@ const config = {
$utils: 'src/utils',
$style: 'src/style',
},
csrf: false,
}
}