fixes #31442 access control allow origin /edispatcher/api/public/hello
This commit is contained in:
parent
f77be05751
commit
92477123b7
|
@ -557,6 +557,7 @@ $api('$id',data);";
|
|||
|
||||
public function helloAction() {
|
||||
$reponse = new Response('ninegate', Response::HTTP_OK);
|
||||
$reponse->headers->set('Access-Control-Allow-Origin', '*');
|
||||
return $reponse;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue