bug fixing
This commit is contained in:
parent
2b1c3319f4
commit
72a617c666
@ -23,15 +23,6 @@ class RestController extends Controller
|
||||
'auth' => [$this, 'auth'],
|
||||
'optional' => $this->getOptionalActions(),
|
||||
];
|
||||
$behaviors['corsFilter'] = [
|
||||
'class' => Cors::class,
|
||||
'cors' => [
|
||||
// restrict access to
|
||||
'Origin' => ['https://botondfitness.hu'],
|
||||
// Allow credentials (cookies, authorization headers, etc.) to be exposed to the browser
|
||||
'Access-Control-Allow-Credentials' => true,
|
||||
]
|
||||
];
|
||||
return $behaviors;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user