-
-
Save christiannwamba/648abd59ce91aa21d6782dc0ff419ad6 to your computer and use it in GitHub Desktop.
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
// app.js | |
initializePusher() { | |
Pusher.logToConsole = true; | |
this.pusher = new Pusher('APP_ID', { | |
cluster: 'APP_CLUSTER', | |
encrypted: true | |
}); | |
this.subscribeToEventChannel(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment