This commit is contained in:
andrey 2021-06-14 17:31:44 +03:00
parent 65e50ad36a
commit f324445b17

View File

@ -21,7 +21,7 @@ class SkillsController extends \yii\rest\Controller
'class' => GsCors::class, 'class' => GsCors::class,
'cors' => [ 'cors' => [
'Origin' => ['*'], 'Origin' => ['*'],
'Access-Control-Allow-Credentials' => true, //'Access-Control-Allow-Credentials' => true,
'Access-Control-Allow-Headers' => [ 'Access-Control-Allow-Headers' => [
'Content-Type', 'Content-Type',
'Access-Control-Allow-Headers', 'Access-Control-Allow-Headers',