From 05a5fba33e5ddc4c1bbbfbfd82f45ebb6feb8cef Mon Sep 17 00:00:00 2001 From: HugoRCD Date: Fri, 25 Oct 2024 11:52:37 +0200 Subject: [PATCH] Fix ping pong --- app/pages/app/crypto/[symbol].vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/pages/app/crypto/[symbol].vue b/app/pages/app/crypto/[symbol].vue index 6c9157e..cf88292 100644 --- a/app/pages/app/crypto/[symbol].vue +++ b/app/pages/app/crypto/[symbol].vue @@ -37,6 +37,9 @@ function connect() { if (event.data.includes('number')) { dynamicData.value = JSON.parse(event.data).number } + if (event.data.includes('pong')) { + console.log('ws', 'Received pong') + } }) }