fix cots
This commit is contained in:
parent
493d0a4f66
commit
a275a7aac2
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user