Skip to content

Update README.md clarifying how you can get the app key #95

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ const pusher = Pusher.getInstance();

try {
await pusher.init({
apiKey,
cluster,
apiKey: APP_KEY,
cluster: APP_CLUSTER,
// authEndpoint: '<YOUR ENDPOINT URI>',
onConnectionStateChange,
onError,
Expand Down Expand Up @@ -172,7 +172,7 @@ If no messages are received after this time period (in seconds), the ping messa

#### `apiKey (string)`

You can get your `API_KEY` and `API_CLUSTER` from the [Pusher Channels dashboard](https://dashboard.pusher.com/).
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/)

#### `authEndpoint (string)`

Expand Down