File tree Expand file tree Collapse file tree 3 files changed +2
-31
lines changed Expand file tree Collapse file tree 3 files changed +2
-31
lines changed Original file line number Diff line number Diff line change 9
9
->withProviders ()
10
10
->withRouting (
11
11
web: __DIR__ .'/../routes/web.php ' ,
12
- // api: __DIR__.'/../routes/api.php',
12
+ api: __DIR__ .'/../routes/api.php ' ,
13
13
commands: __DIR__ .'/../routes/console.php ' ,
14
14
// channels: __DIR__.'/../routes/channels.php',
15
15
health: '/up ' ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 3
3
use Illuminate \Foundation \Inspiring ;
4
4
use Illuminate \Support \Facades \Artisan ;
5
5
6
- /*
7
- |--------------------------------------------------------------------------
8
- | Console Routes
9
- |--------------------------------------------------------------------------
10
- |
11
- | This file is where you may define all of your Closure based console
12
- | commands. Each Closure is bound to a command instance allowing a
13
- | simple approach to interacting with each command's IO methods.
14
- |
15
- */
16
-
17
6
Artisan::command ('inspire ' , function () {
18
7
$ this ->comment (Inspiring::quote ());
19
- })->purpose ('Display an inspiring quote ' );
8
+ })->purpose ('Display an inspiring quote ' )-> hourly () ;
You can’t perform that action at this time.
0 commit comments