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

@@ -24,7 +24,7 @@ import createAxios from '../dashboard/helper/APIHelper';
import commonHelpers from '../dashboard/helper/commons';
import router from '../dashboard/routes';
import store from '../dashboard/store';
import vuePusher from '../dashboard/helper/pusher';
import vueActionCable from '../dashboard/helper/actionCable';
import constants from '../dashboard/constants';
Vue.config.env = process.env;
@@ -58,7 +58,7 @@ window.onload = () => {
components: { App },
template: '<App/>',
}).$mount('#app');
window.pusher = vuePusher.init();
vueActionCable.init();
};
if ('serviceWorker' in navigator) {