From d5cfd7fc7236821e8e3438954f6ecfd894fe8ace Mon Sep 17 00:00:00 2001 From: ori agranat Date: Thu, 10 Oct 2019 23:36:33 +0300 Subject: [PATCH] removed json format in FE websocket --- New client/chameleon-client/src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/New client/chameleon-client/src/main.js b/New client/chameleon-client/src/main.js index 28d81966a..54acb43f7 100644 --- a/New client/chameleon-client/src/main.js +++ b/New client/chameleon-client/src/main.js @@ -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,