adding Authorization to Access-Control-Allow-Headers
This commit is contained in:
@@ -5,7 +5,8 @@ module.exports = function cors () {
|
||||
const headers = [
|
||||
'X-Requested-With',
|
||||
'X-Prototype-Version',
|
||||
'X-CSRF-Token'
|
||||
'X-CSRF-Token',
|
||||
'Authorization'
|
||||
];
|
||||
|
||||
if (req.method === 'OPTIONS') {
|
||||
|
||||
Reference in New Issue
Block a user