diff --git a/routes/web.php b/routes/api.php similarity index 100% rename from routes/web.php rename to routes/api.php diff --git a/src/CanvasServiceProvider.php b/src/CanvasServiceProvider.php index 66305cc4c..9cf5a0852 100644 --- a/src/CanvasServiceProvider.php +++ b/src/CanvasServiceProvider.php @@ -89,7 +89,7 @@ private function configureRoutes() ->prefix(config('canvas.path')) ->group(function () { $this->loadRoutesFrom(dirname(__DIR__).'/routes/auth.php'); - $this->loadRoutesFrom(dirname(__DIR__).'/routes/web.php'); + $this->loadRoutesFrom(dirname(__DIR__).'/routes/api.php'); }); }