diff --git a/src/ninegate-1.0/src/Cadoles/EdispatcherBundle/Controller/ApiController.php b/src/ninegate-1.0/src/Cadoles/EdispatcherBundle/Controller/ApiController.php index 90925d4f..ab9b7729 100755 --- a/src/ninegate-1.0/src/Cadoles/EdispatcherBundle/Controller/ApiController.php +++ b/src/ninegate-1.0/src/Cadoles/EdispatcherBundle/Controller/ApiController.php @@ -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; }