Skip to content

Commit

Permalink
Add mention of cluster in a global configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Luís Fonseca authored Sep 6, 2016
1 parent 34e6804 commit 8e99bf4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ Pusher.key = 'your-pusher-key'
Pusher.secret = 'your-pusher-secret'
```

If you created your app in a different cluster to the default cluster, you must set it as follows:

``` ruby
Pusher.cluster = 'your-app-cluster'
```

Global configuration will automatically be set from the `PUSHER_URL` environment variable if it exists. This should be in the form `http://KEY:[email protected]/apps/APP_ID`. On Heroku this environment variable will already be set.

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

0 comments on commit 8e99bf4

Please sign in to comment.