fix cors
This commit is contained in:
parent
b24125ac66
commit
5e22a94015
@ -53,6 +53,7 @@ class ApiController extends Controller
|
|||||||
//'Access-Control-Allow-Credentials' => true,
|
//'Access-Control-Allow-Credentials' => true,
|
||||||
'Access-Control-Allow-Headers' => [
|
'Access-Control-Allow-Headers' => [
|
||||||
'Access-Control-Allow-Origin',
|
'Access-Control-Allow-Origin',
|
||||||
|
'Access-Control-Request-Methods',
|
||||||
'Content-Type',
|
'Content-Type',
|
||||||
'Access-Control-Allow-Headers',
|
'Access-Control-Allow-Headers',
|
||||||
'Authorization',
|
'Authorization',
|
||||||
|
Loading…
Reference in New Issue
Block a user