Skip to content

Commit 3fdaf72

Browse files
committed
Re-register routes
1 parent 536fa9d commit 3fdaf72

File tree

3 files changed

+2
-31
lines changed

3 files changed

+2
-31
lines changed

bootstrap/app.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
->withProviders()
1010
->withRouting(
1111
web: __DIR__.'/../routes/web.php',
12-
// api: __DIR__.'/../routes/api.php',
12+
api: __DIR__.'/../routes/api.php',
1313
commands: __DIR__.'/../routes/console.php',
1414
// channels: __DIR__.'/../routes/channels.php',
1515
health: '/up',

routes/channels.php

Lines changed: 0 additions & 18 deletions
This file was deleted.

routes/console.php

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,6 @@
33
use Illuminate\Foundation\Inspiring;
44
use Illuminate\Support\Facades\Artisan;
55

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-
176
Artisan::command('inspire', function () {
187
$this->comment(Inspiring::quote());
19-
})->purpose('Display an inspiring quote');
8+
})->purpose('Display an inspiring quote')->hourly();

0 commit comments

Comments
 (0)