This commit is contained in:
2021-03-05 17:35:24 +08:00
parent 87eb6ee01c
commit 2b3a276625
+1 -1
View File
@@ -513,7 +513,7 @@ class Node extends HttpService
$closure = [Snowflake::createObject($closure), 'onHandler']; $closure = [Snowflake::createObject($closure), 'onHandler'];
} }
if (str_contains($this->path, 'switch/map')) { if (str_contains($this->path, 'switch/map')) {
var_dump($closure); var_dump($closure, $this->middleware);
} }
if (in_array($closure, $this->middleware)) { if (in_array($closure, $this->middleware)) {
continue; continue;