fix cors
This commit is contained in:
parent
de3539bfd9
commit
edea2cc3e7
@ -58,7 +58,8 @@ class ApiController extends Controller
|
|||||||
'Authorization',
|
'Authorization',
|
||||||
'X-Requested-With'
|
'X-Requested-With'
|
||||||
],
|
],
|
||||||
'Access-Control-Allow-Methods' => ['*'],
|
'Access-Control-Allow-Methods' => ['POST', 'GET', 'PUT', 'PATCH', 'DELETE', 'OPTIONS'],
|
||||||
|
'Access-Control-Request-Method' => ['POST', 'GET', 'PUT', 'PATCH', 'DELETE', 'OPTIONS'],
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
'authenticator' => [
|
'authenticator' => [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user