Update middleware

This commit is contained in:
2024-03-17 23:07:08 +01:00
parent 8eb3b46936
commit a0c7381c94
+1 -1
View File
@@ -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
} }
}, },