mirror of
https://github.com/Kizuren/statusPage.git
synced 2025-12-21 21:16:09 +01:00
changed ip for onion
This commit is contained in:
parent
fb0db1f959
commit
df871a95f1
1 changed files with 1 additions and 1 deletions
|
|
@ -224,7 +224,7 @@ while(true) {
|
||||||
try {
|
try {
|
||||||
if (endpoint.url.includes('.onion')) {
|
if (endpoint.url.includes('.onion')) {
|
||||||
let [host, port] = endpoint.url.replace('http://', '').split(':');
|
let [host, port] = endpoint.url.replace('http://', '').split(':');
|
||||||
host = endpoint.id.includes('-POWERFUL') ? '192.168.0.106' : '127.0.0.1';
|
host = endpoint.id.includes('-POWERFUL') ? '192.168.0.105' : '127.0.0.1';
|
||||||
const result = await checkOnionService(host, port || 8333);
|
const result = await checkOnionService(host, port || 8333);
|
||||||
|
|
||||||
endpointStatus.t = Date.now();
|
endpointStatus.t = Date.now();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue