mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-23 01:21:40 +00:00
removed json format in FE websocket
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user