mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 09:51:10 -06:00
#3857 pusher error
This commit is contained in:
parent
9815b1f7ac
commit
654b277823
@ -18,4 +18,4 @@ class BroadcastServiceProvider extends ServiceProvider
|
||||
|
||||
require base_path('routes/channels.php');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -32,19 +32,15 @@ return [
|
||||
|
||||
'pusher' => [
|
||||
'driver' => 'pusher',
|
||||
'key' => env('PUSHER_APP_KEY', '12345'),
|
||||
'secret' => env('PUSHER_APP_SECRET', '12345'),
|
||||
'app_id' => env('PUSHER_APP_ID', '12345'),
|
||||
'key' => env('PUSHER_APP_KEY'),
|
||||
'secret' => env('PUSHER_APP_SECRET'),
|
||||
'app_id' => env('PUSHER_APP_ID'),
|
||||
'options' => [
|
||||
'cluster' => env('PUSHER_APP_CLUSTER', 'mt1'),
|
||||
'encrypted' => env('BROADCAST_SSL', false),
|
||||
'cluster' => env('PUSHER_APP_CLUSTER'),
|
||||
'encrypted' => false,
|
||||
'host' => '127.0.0.1',
|
||||
'port' => 6001,
|
||||
'scheme' => env('BROADCAST_SSL', false) ? 'https' : 'http',
|
||||
'curl_options' => [
|
||||
CURLOPT_SSL_VERIFYHOST => 0,
|
||||
CURLOPT_SSL_VERIFYPEER => 0,
|
||||
]
|
||||
'scheme' => 'http'
|
||||
],
|
||||
],
|
||||
|
||||
|
||||
@ -13,6 +13,6 @@ use Illuminate\Support\Facades\Broadcast;
|
||||
|
|
||||
*/
|
||||
|
||||
Broadcast::channel('App.Models.User.{id}', function ($user, $id) {
|
||||
Broadcast::channel('Anomaly.UsersModule.User.UserModel.{id}', function ($user, $id) {
|
||||
return (int) $user->id === (int) $id;
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user