fix return header in api controller

This commit is contained in:
iIronside 2023-01-12 16:12:48 +03:00
parent f08cc3b7fa
commit 1394e89d45

View File

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