fix change header in api controller

This commit is contained in:
iIronside 2023-01-12 16:00:07 +03:00
parent 18ca568485
commit f08cc3b7fa

View File

@ -22,7 +22,7 @@ class ApiController extends Controller
//'Access-Control-Allow-Credentials' => true, //'Access-Control-Allow-Credentials' => true,
'Access-Control-Allow-Headers' => [ 'Access-Control-Allow-Headers' => [
'Content-Type', 'Content-Type',
'Access-Control-Allow-Headers', 'Access-Control-Headers-Origin',
'Authorization', 'Authorization',
'X-Requested-With' 'X-Requested-With'
], ],