Last active
March 22, 2018 23:38
-
-
Save ajb413/17e4d951069aa5605b8dd4f73fd6292d to your computer and use it in GitHub Desktop.
aws blog snippet
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
// Be sure to replace strings with your own App's Publish & Subscribe keys | |
// Also replace the REST endpoint with your own On Request handler | |
var userPubKey = '__PUBNUB_PUBLISH_KEY__'; | |
var userSubKey = '__PUBNUB_SUBSCRIBE_KEY__'; | |
var pollyFunctionURI = 'https://pubsub.pubnub.com/v1/blocks/sub-key/__SUB_KEY__/__URI__'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment