fixes #31442 access control allow origin /edispatcher/api/public/hello

This commit is contained in:
Pierre Cadeot 2021-01-25 08:41:25 +04:00
parent f77be05751
commit 92477123b7
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}