This commit is contained in:
2020-09-16 20:45:17 +08:00
parent ab0ffb66d9
commit 43669a525b
+1
View File
@@ -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 = '';