mirror of
https://github.com/Kizuren/statusPage.git
synced 2025-12-24 08:14:00 +01:00
fixed small mistake
This commit is contained in:
parent
09c1c6d6c7
commit
cd9da040eb
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue