From 69830297eae204362d398d8fc7bddf288da792c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 16 Mar 2021 14:39:09 +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 --- HttpServer/Http/Request.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HttpServer/Http/Request.php b/HttpServer/Http/Request.php index 2591b81f..36100d77 100644 --- a/HttpServer/Http/Request.php +++ b/HttpServer/Http/Request.php @@ -445,7 +445,7 @@ class Request extends HttpService */ public function dispatch(): mixed { - return $this->is('favicon.ico') ? \send(null) : \router(); + return $this->is('favicon.ico') ? \send(null) : \router()->dispatch(); }