Disable csrf checkOrigin to fix newsletter form submission
This commit is contained in:
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user