Skip to content

Commit 8e99bf4

Browse files
author
Luís Fonseca
authored
Add mention of cluster in a global configuration
1 parent 34e6804 commit 8e99bf4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@ Pusher.key = 'your-pusher-key'
7272
Pusher.secret = 'your-pusher-secret'
7373
```
7474

75+
If you created your app in a different cluster to the default cluster, you must set it as follows:
76+
77+
``` ruby
78+
Pusher.cluster = 'your-app-cluster'
79+
```
80+
7581
Global configuration will automatically be set from the `PUSHER_URL` environment variable if it exists. This should be in the form `http://KEY:SECRET@api.pusherapp.com/apps/APP_ID`. On Heroku this environment variable will already be set.
7682

7783
If you need to make requests via a HTTP proxy then it can be configured

0 commit comments

Comments
 (0)