From 29c7677fd670337bc59d807a49b79a3e18c70cad Mon Sep 17 00:00:00 2001 From: edmondlang Date: Fri, 30 Sep 2022 19:23:34 +0800 Subject: [PATCH] initial commit --- .gitignore.example | 8 ++++++++ artisan | 0 routes/web.php | 3 ++- 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 .gitignore.example mode change 100755 => 100644 artisan diff --git a/.gitignore.example b/.gitignore.example new file mode 100644 index 0000000..a98c1b9 --- /dev/null +++ b/.gitignore.example @@ -0,0 +1,8 @@ +/vendor +/.idea +Homestead.json +Homestead.yaml +.env + +storage/*.key +composer.lock diff --git a/artisan b/artisan old mode 100755 new mode 100644 diff --git a/routes/web.php b/routes/web.php index aa71e55..3fa8199 100644 --- a/routes/web.php +++ b/routes/web.php @@ -13,7 +13,8 @@ declare(strict_types = 1); | */ -$router->group(['prefix' => 'api', 'middleware' => ['client.credentials']], function () use ($router) { +// $router->group(['prefix' => 'api', 'middleware' => ['client.credentials']], function () use ($router) { +$router->group(['prefix' => 'api'], function () use ($router) { $router->group(['prefix' => 'product'], function () use ($router) { $router->get('/', ['uses' => 'ProductController@index']);