Skip to content

Commit

Permalink
Fix ping pong
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoRCD committed Oct 25, 2024
1 parent a6ba8e5 commit 05a5fba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/pages/app/crypto/[symbol].vue
Original file line number Diff line number Diff line change
Expand Up @@ -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')
}
})
}
Expand Down

0 comments on commit 05a5fba

Please sign in to comment.