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: { kit: {
csrf: {
checkOrigin: false
},
adapter: adapter({ adapter: adapter({
edge: true edge: true
}), }),
@@ -27,7 +30,6 @@ const config = {
$utils: 'src/utils', $utils: 'src/utils',
$style: 'src/style', $style: 'src/style',
}, },
csrf: false,
} }
} }