diff --git a/site/src/App.vue b/site/src/App.vue index cf71df3..ee7a017 100644 --- a/site/src/App.vue +++ b/site/src/App.vue @@ -73,12 +73,13 @@ const loading = computed(() => status.value === 'CONNECTING' || status.value === function clickPlay() { open(); - send('hi'); + send('{"action":"ping"}'); } function action(evt: Action) { - console.log('send action', evt); - send(JSON.stringify(action)); + const s = JSON.stringify(action); + console.log('send action', evt, s); + send(s); } const loadingMe = ref(true);