mirror of
https://github.com/Kizuren/statusPage.git
synced 2025-12-21 21:16:09 +01:00
removed actual bugs
This commit is contained in:
parent
0a0801d8ad
commit
aeadf4f3e2
1 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue