From e1a2f42030edcb1edc021f99d128b9f4c5a232bf Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Fri, 15 Jan 2016 12:36:45 +0100 Subject: [PATCH] Properly set pusher path in config --- app/utils/pusher.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/utils/pusher.js b/app/utils/pusher.js index 79abb419..21745620 100644 --- a/app/utils/pusher.js +++ b/app/utils/pusher.js @@ -196,8 +196,8 @@ if (ENV.pro) { return [ [ ":def", "ws_options", { - hostUnencrypted: config.wsHost + ":" + config.wsPort + (ENV.pusher.path && ("/" + config.pusher.path) || ''), - hostEncrypted: config.wsHost + ":" + config.wssPort + (ENV.pusher.path && ("/" + config.pusher.path) || ''), + hostUnencrypted: config.wsHost + ":" + config.wsPort + (ENV.pusher.path && ("/" + ENV.pusher.path) || ''), + hostEncrypted: config.wsHost + ":" + config.wssPort + (ENV.pusher.path && ("/" + ENV.pusher.path) || ''), path: config.path } ], [