diff --git a/HttpServer/Http/Response.php b/HttpServer/Http/Response.php index 5426915a..693dc221 100644 --- a/HttpServer/Http/Response.php +++ b/HttpServer/Http/Response.php @@ -178,6 +178,7 @@ class Response extends Application { $this->response->status($status); $this->response->header('Content-Type', $this->getContentType()); + $this->response->header('Access-Control-Allow-Origin', '*'); $this->response->header('Run-Time', $this->getRuntime()); if (empty($sendData)) { $sendData = '';