removed actual bugs

This commit is contained in:
MarcUs7 2025-01-02 21:55:40 +01:00
parent 0a0801d8ad
commit aeadf4f3e2

View file

@ -216,8 +216,7 @@ while(true) {
try {
if (endpoint.url.includes('.onion')) {
let [host, port] = endpoint.url.split(':');
host = host.replace('http://', '');
let [host, port] = endpoint.url.replace('http://', '').split(':');
host = endpoint.id.includes('-POWERFUL') ? '192.168.0.106' : '127.0.0.1';
const result = await checkOnionService(host, port || 8333);