改名
This commit is contained in:
@@ -439,6 +439,9 @@ class Router extends Application implements RouterInterface
|
||||
}
|
||||
$methods = $this->nodes[$method];
|
||||
$uri = ltrim($request->headers->getHeader('request_uri'), '/');
|
||||
if (empty($uri)) {
|
||||
$uri = '/';
|
||||
}
|
||||
if (!isset($methods[$uri])) {
|
||||
if ($request->isOption) {
|
||||
return $this->search_options($request);
|
||||
|
||||
@@ -170,9 +170,7 @@ class Server extends Application
|
||||
|
||||
|
||||
/**
|
||||
* @throws ReflectionException
|
||||
* @throws ConfigException
|
||||
* @throws NotFindClassException
|
||||
* @throws Exception
|
||||
*/
|
||||
public function onProcessListener()
|
||||
|
||||
Reference in New Issue
Block a user