mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-05-04 05:05:58 +00:00
websocket implementation
This commit is contained in:
+5
-1
@@ -11,4 +11,8 @@
|
||||
|
|
||||
*/
|
||||
|
||||
Broadcast::channel('App.User.{id}', fn ($user, $id) => (int) $user->id === (int) $id);
|
||||
//Broadcast::channel('App.User.{id}', fn ($user, $id) => (int) $user->id === (int) $id);
|
||||
|
||||
Broadcast::channel('test.{id}', function ($user, $id) {
|
||||
return true;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user