From 47a1b8d1914f76ac3dcda33df162c6aa0b984f54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 24 Sep 2021 17:54:56 +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 --- http-handler/CoreMiddleware.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/http-handler/CoreMiddleware.php b/http-handler/CoreMiddleware.php index c31fc552..17fddc8e 100644 --- a/http-handler/CoreMiddleware.php +++ b/http-handler/CoreMiddleware.php @@ -23,6 +23,9 @@ class CoreMiddleware extends Middleware $this->response->withAccessControlAllowOrigin('*') ->withAccessControlRequestMethod($request->getAccessControlRequestMethod()) ->withAccessControlAllowHeaders($request->getAccessControlAllowHeaders()); + + var_dump($this->response); + return $handler->handle($request); }