cors fix
This commit is contained in:
parent
65e50ad36a
commit
f324445b17
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user