#4446 -- Add API key to allowed headers.

This commit is contained in:
Buster "Silver Eagle" Neece 2021-08-03 19:36:29 -05:00
parent 7aefbb6d6e
commit cf9c1289b6
No known key found for this signature in database
GPG Key ID: 6D9E12FF03411F4E
1 changed files with 1 additions and 1 deletions

View File

@ -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', '*');
}