diff --git a/src/Controller/OperatorStatusController.php b/src/Controller/OperatorStatusController.php index de7a4b3..c430dfb 100644 --- a/src/Controller/OperatorStatusController.php +++ b/src/Controller/OperatorStatusController.php @@ -51,6 +51,8 @@ class OperatorStatusController extends AbstractController $is_online = "true"; } } - return new Response($is_online); + $response = new Response($is_online); + $response->headers->set('Access-Control-Allow-Origin', '*'); + return $response; } }