mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
#3857 pusher error
This commit is contained in:
parent
9815b1f7ac
commit
654b277823
@ -32,19 +32,15 @@ return [
|
|||||||
|
|
||||||
'pusher' => [
|
'pusher' => [
|
||||||
'driver' => 'pusher',
|
'driver' => 'pusher',
|
||||||
'key' => env('PUSHER_APP_KEY', '12345'),
|
'key' => env('PUSHER_APP_KEY'),
|
||||||
'secret' => env('PUSHER_APP_SECRET', '12345'),
|
'secret' => env('PUSHER_APP_SECRET'),
|
||||||
'app_id' => env('PUSHER_APP_ID', '12345'),
|
'app_id' => env('PUSHER_APP_ID'),
|
||||||
'options' => [
|
'options' => [
|
||||||
'cluster' => env('PUSHER_APP_CLUSTER', 'mt1'),
|
'cluster' => env('PUSHER_APP_CLUSTER'),
|
||||||
'encrypted' => env('BROADCAST_SSL', false),
|
'encrypted' => false,
|
||||||
'host' => '127.0.0.1',
|
'host' => '127.0.0.1',
|
||||||
'port' => 6001,
|
'port' => 6001,
|
||||||
'scheme' => env('BROADCAST_SSL', false) ? 'https' : 'http',
|
'scheme' => 'http'
|
||||||
'curl_options' => [
|
|
||||||
CURLOPT_SSL_VERIFYHOST => 0,
|
|
||||||
CURLOPT_SSL_VERIFYPEER => 0,
|
|
||||||
]
|
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|||||||
@ -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;
|
return (int) $user->id === (int) $id;
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user