This commit is contained in:
2021-08-05 14:13:06 +08:00
parent 0ccad9bbff
commit 93f4941821
+1 -1
View File
@@ -124,7 +124,7 @@ class Node extends HttpService
$callback = $this->injectClosureMiddleware($manager, $handler);
}
$handlerProviders = di(HandlerProviders::class);
$handlerProviders->add($this->sourcePath, $this->method, $callback);
$handlerProviders->add($this->method, $this->sourcePath, $callback);
return $this;
}