fix return header in api controller
This commit is contained in:
parent
f08cc3b7fa
commit
1394e89d45
@ -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-Headers-Origin',
|
'Access-Control-Allow-Headers',
|
||||||
'Authorization',
|
'Authorization',
|
||||||
'X-Requested-With'
|
'X-Requested-With'
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user