mirror of
https://github.com/crater-invoice/crater.git
synced 2026-02-08 11:52:40 -05:00
init crater
This commit is contained in:
20
app/Providers/BroadcastServiceProvider.php
Normal file
20
app/Providers/BroadcastServiceProvider.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
namespace Laraspace\Providers;
|
||||
|
||||
use Illuminate\Support\Facades\Broadcast;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
|
||||
class BroadcastServiceProvider extends ServiceProvider
|
||||
{
|
||||
/**
|
||||
* Bootstrap any application services.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function boot()
|
||||
{
|
||||
Broadcast::routes();
|
||||
Broadcast::routes(["middleware" => 'api.auth']);
|
||||
require base_path('routes/channels.php');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user