mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 14:36:17 +00:00
init
This commit is contained in:
8
routes/channels.php
Normal file
8
routes/channels.php
Normal file
@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
use App\Models\User;
|
||||
use Illuminate\Support\Facades\Broadcast;
|
||||
|
||||
Broadcast::channel('app', function (User $user) {
|
||||
return $user && $user->id;
|
||||
});
|
Reference in New Issue
Block a user