This commit is contained in:
andrey 2021-08-05 17:38:59 +03:00
parent 493d0a4f66
commit a275a7aac2

View File

@ -27,7 +27,7 @@ class ProfileController extends \yii\rest\Controller
'corsFilter' => [ 'corsFilter' => [
'class' => GsCors::class, 'class' => GsCors::class,
'cors' => [ 'cors' => [
'Origin' => ['*'], 'Origin' => ['https://itguild.info'],
//'Access-Control-Allow-Credentials' => true, //'Access-Control-Allow-Credentials' => true,
'Access-Control-Allow-Headers' => [ 'Access-Control-Allow-Headers' => [
'Content-Type', 'Content-Type',