From f324445b17ffe9af21e07aab3120f65faf6f41b6 Mon Sep 17 00:00:00 2001 From: andrey Date: Mon, 14 Jun 2021 17:31:44 +0300 Subject: [PATCH] cors fix --- frontend/modules/api/controllers/SkillsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/modules/api/controllers/SkillsController.php b/frontend/modules/api/controllers/SkillsController.php index ebd7f18..53df858 100644 --- a/frontend/modules/api/controllers/SkillsController.php +++ b/frontend/modules/api/controllers/SkillsController.php @@ -21,7 +21,7 @@ class SkillsController extends \yii\rest\Controller 'class' => GsCors::class, 'cors' => [ 'Origin' => ['*'], - 'Access-Control-Allow-Credentials' => true, + //'Access-Control-Allow-Credentials' => true, 'Access-Control-Allow-Headers' => [ 'Content-Type', 'Access-Control-Allow-Headers',