Skip to content

Commit 5f32a29

Browse files
committed
Re-register routes
1 parent 54f70a6 commit 5f32a29

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

bootstrap/app.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
->withProviders()
1616
->withRouting(
1717
web: __DIR__.'/../routes/web.php',
18-
// api: __DIR__.'/../routes/api.php',
18+
api: __DIR__.'/../routes/api.php',
1919
commands: __DIR__.'/../routes/console.php',
2020
// channels: __DIR__.'/../routes/channels.php',
2121
health: '/up',

routes/channels.php

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

routes/console.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?php
2+
3+
use Illuminate\Foundation\Inspiring;
4+
use Illuminate\Support\Facades\Artisan;
5+
6+
Artisan::command('inspire', function () {
7+
$this->comment(Inspiring::quote());
8+
})->purpose('Display an inspiring quote')->hourly();

0 commit comments

Comments
 (0)