bug fixing

This commit is contained in:
Roland Schneider
2021-09-28 19:32:39 +02:00
parent 12f49e2362
commit dcf620f191
3 changed files with 29 additions and 2 deletions

View File

@@ -3,6 +3,7 @@
namespace customerapi\controllers;
use common\helpers\CorsCustom;
use common\models\Customer;
use Exception;
use Lcobucci\JWT\Token;
@@ -20,7 +21,7 @@ class RestController extends Controller
$behaviors = parent::behaviors();
$behaviors['corsFilter'] = [
'class' => Cors::class,
'class' => CorsCustom::class,
'cors' => [
// restrict access to
'Origin' => ['https://botondfitness.hu'],