This commit is contained in:
Kavalar 2023-04-20 00:20:34 +03:00
parent de3539bfd9
commit edea2cc3e7

View File

@ -58,7 +58,8 @@ class ApiController extends Controller
'Authorization',
'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' => [