From 1394e89d456eaae58b757c29216b50486b8a6191 Mon Sep 17 00:00:00 2001 From: iIronside Date: Thu, 12 Jan 2023 16:12:48 +0300 Subject: [PATCH] fix return header in api controller --- frontend/modules/api/controllers/ApiController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/modules/api/controllers/ApiController.php b/frontend/modules/api/controllers/ApiController.php index 1f8baaf..81fd9f9 100644 --- a/frontend/modules/api/controllers/ApiController.php +++ b/frontend/modules/api/controllers/ApiController.php @@ -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' ],