-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add mention of cluster in a global configuration
- 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.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|