mirror of
https://github.com/flarum/core.git
synced 2025-08-08 09:26:34 +02:00
Add Pusher cluster option. closes #6
This commit is contained in:
committed by
Toby Zerner
parent
392200ef3b
commit
159847fec0
@@ -49,6 +49,7 @@ class AddPusherApi
|
||||
{
|
||||
if ($event->isSerializer(ForumSerializer::class)) {
|
||||
$event->attributes['pusherKey'] = $this->settings->get('flarum-pusher.app_key');
|
||||
$event->attributes['pusherCluster'] = $this->settings->get('flarum-pusher.app_cluster', 'us');
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user