This commit is contained in:
2021-08-30 18:22:11 +08:00
parent a0e5eb03d2
commit 680480b9dc
+1 -1
View File
@@ -402,7 +402,7 @@ class Node
if (empty($handlerProviders)) { if (empty($handlerProviders)) {
throw new RequestException('<h2>HTTP 404 Not Found</h2><hr><i>Powered by Swoole</i>', 404); throw new RequestException('<h2>HTTP 404 Not Found</h2><hr><i>Powered by Swoole</i>', 404);
} }
return call_user_func($handlerProviders); return call_user_func($handlerProviders, request());
} }
} }