From 07fb29373ffda88d54eb02be511119e1e0b32dae Mon Sep 17 00:00:00 2001 From: "iVampireSP.com" Date: Fri, 9 Sep 2022 01:07:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E5=A4=9A=E4=BD=99=E7=9A=84?= =?UTF-8?q?=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routes/api.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/routes/api.php b/routes/api.php index c347f73..f66c219 100644 --- a/routes/api.php +++ b/routes/api.php @@ -66,9 +66,6 @@ }); }); - -$router->addRoute(['GET', 'POST', 'PUT', 'PATCH', 'DELETE', 'OPTIONS'], '/modules/{module}', 'Remote\ModuleController@call'); - $router->group(['prefix' => 'modules/{module}'], function () use ($router) { $controller = 'Remote\ModuleController@call'; $router->get('/{route:.*}/', $controller);