This commit is contained in:
2021-04-27 18:16:03 +08:00
parent f749f28954
commit 8eb8bc8b2a
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -439,7 +439,7 @@ class Request extends HttpService
*/
public function is($router): bool
{
return $this->getUri() == trim($router, '/');
return $this->getUri() == $router;
}
/**