mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 11:41:09 -04:00
21 lines
438 B
PHP
21 lines
438 B
PHP
<?php
|
|
namespace Crater\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');
|
|
}
|
|
}
|