removed json format in FE websocket

This commit is contained in:
ori agranat
2019-10-10 23:36:33 +03:00
parent 82ee832148
commit d5cfd7fc72

View File

@@ -8,7 +8,7 @@ import msgPack from 'msgpack5';
Vue.config.productionTip = false;
// Vue.use(VueNativeSock,'ws://' + location.host + '/websocket',{format: 'json'});
Vue.use(VueNativeSock,'ws://'+location.hostname+':8888/websocket',{format:'JSON'});
Vue.use(VueNativeSock,'ws://'+location.hostname+':8888/websocket');
Vue.prototype.$msgPack = msgPack;
new Vue({
router,