Skip to content

Commit

Permalink
log received messages over ws
Browse files Browse the repository at this point in the history
  • Loading branch information
egasimus committed Nov 21, 2024
1 parent 42858b8 commit 5888184
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions control_out_proxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ async function run (localHost, controlPort, proxyConfig) {
}, {
onMessage: async ({ event }) => {
const data = JSON.parse(event.data)
console.log('WS message received:', data)
if (data.resume) {
console.log('🟢 Resuming sync...')
await service.start()
Expand Down

0 comments on commit 5888184

Please sign in to comment.