1
0
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:
Daniel Klabbers
2016-03-11 09:17:54 +10:30
committed by Toby Zerner
parent 392200ef3b
commit 159847fec0
5 changed files with 17 additions and 0 deletions

View File

@@ -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');
}
}