fix CORSE add Access-Control-Allow-Origin to Headers
This commit is contained in:
@ -18,7 +18,7 @@ class ProfileController extends ApiController
|
||||
'verbs' => [
|
||||
'class' => \yii\filters\VerbFilter::class,
|
||||
'actions' => [
|
||||
'' => ['get'],
|
||||
'' => ['GET', 'HEAD', 'OPTIONS'],
|
||||
'profile-with-report-permission' => ['post', 'patch'],
|
||||
'get-main-data' => ['get']
|
||||
],
|
||||
|
Reference in New Issue
Block a user