Closed naw closed 9 years ago
If the local ws transport fails, pusher.js might try other transports, which will hit the live pusher server/account.
To prevent this, I'd recommend adding enabledTransports: ['ws'] as an option in Configuration#to_options.
enabledTransports: ['ws']
Configuration#to_options
If the local ws transport fails, pusher.js might try other transports, which will hit the live pusher server/account.
To prevent this, I'd recommend adding
enabledTransports: ['ws']
as an option inConfiguration#to_options
.