Allow metrics custom headers in cors
This commit is contained in:
@@ -6,7 +6,10 @@ module.exports = function cors () {
|
||||
'X-Requested-With',
|
||||
'X-Prototype-Version',
|
||||
'X-CSRF-Token',
|
||||
'Authorization'
|
||||
'Authorization',
|
||||
'Carto-Source-Lib',
|
||||
'Carto-Source-Context',
|
||||
'Carto-Source-Context-Id'
|
||||
];
|
||||
|
||||
if (req.method === 'OPTIONS') {
|
||||
|
||||
Reference in New Issue
Block a user