#4446 -- Add API key to allowed headers.
This commit is contained in:
parent
7aefbb6d6e
commit
cf9c1289b6
|
@ -19,7 +19,7 @@ return function (App $app) {
|
|||
->withHeader('Access-Control-Allow-Methods', 'GET, POST, PUT, DELETE, OPTIONS')
|
||||
->withHeader(
|
||||
'Access-Control-Allow-Headers',
|
||||
'x-requested-with, Content-Type, Accept, Origin, Authorization'
|
||||
'x-api-key, x-requested-with, Content-Type, Accept, Origin, Authorization'
|
||||
)
|
||||
->withHeader('Access-Control-Allow-Origin', '*');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue