Skip to content

Commit 4d17bb9

Browse files
authored
Update README.md clarifying how you can get the app key (#95)
* Update README.md clarifying how you can get the app key * Make cluster parameter clearer * Use Channels Dashboard instead of just Dashboard
1 parent 7b9c723 commit 4d17bb9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ const pusher = Pusher.getInstance();
124124

125125
try {
126126
await pusher.init({
127-
apiKey,
128-
cluster,
127+
apiKey: APP_KEY,
128+
cluster: APP_CLUSTER,
129129
// authEndpoint: '<YOUR ENDPOINT URI>',
130130
onConnectionStateChange,
131131
onError,
@@ -172,7 +172,7 @@ If no messages are received after this time period (in seconds), the ping messa
172172

173173
#### `apiKey (string)`
174174

175-
You can get your `API_KEY` and `API_CLUSTER` from the [Pusher Channels dashboard](https://dashboard.pusher.com/).
175+
You can get your `APP_KEY` and `APP_CLUSTER` from the the App page on the App Keys section in your [Pusher Channels Dashboard](https://dashboard.pusher.com/)
176176

177177
#### `authEndpoint (string)`
178178

0 commit comments

Comments
 (0)