diff --git a/http-helper/Route/Router.php b/http-helper/Route/Router.php index 0c61371f..d321c7d2 100644 --- a/http-helper/Route/Router.php +++ b/http-helper/Route/Router.php @@ -503,14 +503,14 @@ class Router extends HttpService implements RouterInterface public function Branch_search(RequestInterface $request): ?Node { $uri = $request->getUri(); - if ($request->isMethod('OPTIONS')) { - $node = $this->tree_search(['*']); - if (!($node instanceof Node)) { - $node = $this->tree_search($uri->getExplode()); - } - } else { - $node = $this->tree_search($uri->getExplode()); - } +// if ($request->isMethod('OPTIONS')) { +// $node = $this->tree_search(['*']); +// if (!($node instanceof Node)) { +// $node = $this->tree_search($uri->getExplode()); +// } +// } else { +// } + $node = $this->tree_search($uri->getExplode()); if (!($node instanceof Node)) { return null; }