diff --git a/watcher.js b/watcher.js index 2ca8da2..2b9205d 100644 --- a/watcher.js +++ b/watcher.js @@ -216,7 +216,7 @@ while(true) { try { if (endpoint.url.includes('.onion')) { - const [host, port] = endpoint.url.split(':'); + [host, port] = endpoint.url.split(':'); host = endpoint.id.includes('-POWERFUL') ? '192.168.0.106' : '127.0.0.1'; const result = await checkOnionService(host, port || 8333);