Skip to content

Commit

Permalink
取消通用路由强制匹配模式
Browse files Browse the repository at this point in the history
  • Loading branch information
Julyssn authored Apr 3, 2023
1 parent 94e0d05 commit 34b0745
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/addons/Service.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function boot()
}

// 注册控制器路由
$route->rule("addons/:addon/:controller/:action$", $execute)->middleware($middlewares);
$route->rule("addons/:addon/:controller/:action", $execute)->middleware($middlewares);
// 自定义路由
$routes = (array)Config::get('addons.route', []);
foreach ($routes as $key => $val) {
Expand Down

0 comments on commit 34b0745

Please sign in to comment.