diff --git a/HttpServer/Route/Middleware.php b/HttpServer/Route/Middleware.php index 8371a7a3..bcddb3d3 100644 --- a/HttpServer/Route/Middleware.php +++ b/HttpServer/Route/Middleware.php @@ -60,7 +60,9 @@ class Middleware $this->set_attributes($node); } return $node->callback = Reduce::reduce(function () use ($node) { - var_dump($node->handler); + if (!request()->isOption) { + var_dump($node); + } return Dispatch::create($node->handler, func_get_args())->dispatch(); }, $this->annotation($node)); } catch (\Throwable $exception) {