update broken link to cluster option

This commit is contained in:
Chad Gregory 2023-02-01 16:26:23 +00:00
parent fe8fd49bf4
commit 0acfa50ae7

View File

@ -21,7 +21,7 @@ module.exports = function (RED) {
//create a subscription to the channel and event defined by user
// var socket = new PusherClient(''+node.appkey, {cluster:node.cluster, encrypted:true});
const pusher = new PusherClient('' + node.appkey, {
cluster: APP_CLUSTER
cluster: node.cluster
});
const channel = pusher.subscribe('' + node.channel);