Replace pusher with action cable (#178)

closes #43
This commit is contained in:
Pranav Raj S
2019-10-25 01:37:01 +05:30
committed by Sojan Jose
parent c0354364ff
commit f4358d9993
28 changed files with 144 additions and 165 deletions

View File

@@ -17,19 +17,11 @@ environment.loaders.append('audio', {
environment.config.merge({ resolve });
const {
pusher_cluster: cluster,
pusher_key: token,
fb_app_id: fbAppID,
} = process.env;
const { fb_app_id: fbAppID } = process.env;
environment.plugins.prepend(
'DefinePlugin',
new webpack.DefinePlugin({
__PUSHER__: {
token: `"${token}"`,
cluster: `"${cluster}"`,
},
__FB_ID__: `"${fbAppID}"`,
})
);