Update middleware
This commit is contained in:
@@ -7,7 +7,7 @@ module.exports = [
|
|||||||
config: {
|
config: {
|
||||||
origin: ['*'],
|
origin: ['*'],
|
||||||
methods: ['GET'],
|
methods: ['GET'],
|
||||||
headers: ['Content-Type', 'Authorization', 'Origin', 'Accept', 'HX-Current-URL', 'HX-Request', 'HX-Target'],
|
headers: ['Content-Type', 'Authorization', 'Origin', 'Accept', 'HX-Current-URL', 'HX-Request', 'HX-Target', 'HX-Trigger'],
|
||||||
keepHeaderOnError: true
|
keepHeaderOnError: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user