This commit is contained in:
xl
2023-06-27 16:45:00 +08:00
parent ffd877dbdf
commit c9aac1f196
+1 -1
View File
@@ -89,7 +89,7 @@ class OnRequest implements OnRequestInterface
/** @var ConstrictRequest $PsrRequest */
$PsrRequest = $this->initPsr7RequestAndPsr7Response($request);
$dispatcher = $this->router->query($PsrRequest->getUri()->getPath(), $PsrRequest->getMethod());
$dispatcher = $this->router->query($request->server['path_info'], $request->getMethod());
$PsrResponse = $dispatcher->handle($PsrRequest);
} catch (\Throwable $throwable) {