This commit is contained in:
as2252258@163.com
2021-08-03 01:26:56 +08:00
parent f032388d38
commit d245ac394c
+1 -1
View File
@@ -40,7 +40,7 @@ class HTTPServerListener extends Abstracts\Server
public function __construct() public function __construct()
{ {
$this->router = Snowflake::getApp('router'); $this->router = Snowflake::getApp('router');
$this->response = Snowflake::getApp('response'); $this->response = di(\HttpServer\Http\Response::class);
parent::__construct(); parent::__construct();
} }