From ff1f891ec325423f87d60bbbffc34b2fcb29734d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Sun, 1 Aug 2021 15:14:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Server/HTTPServerListener.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Server/HTTPServerListener.php b/Server/HTTPServerListener.php index 1af174fb..3edf7c93 100644 --- a/Server/HTTPServerListener.php +++ b/Server/HTTPServerListener.php @@ -94,7 +94,8 @@ class HTTPServerListener extends Abstracts\Server /** @var \HttpServer\Http\Response $sResponse */ [$sRequest, $sResponse] = $this->request($request, $response); - $result = $this->router->dispatch($sRequest); + $result = 'ok'; +// $result = $this->router->dispatch($sRequest); } catch (Error | Throwable $exception) { $result = $this->router->exception($exception); } finally {