Add quick link to stats when mining on solo.d-central.tech

This commit is contained in:
harrr1 2024-07-10 16:59:22 +02:00 committed by GitHub
parent 04c8b80287
commit 630d77db0c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -144,6 +144,9 @@ export class HomeComponent {
} else if (info.stratumURL.includes('ocean.xyz')) {
const address = info.stratumUser.split('.')[0]
return `https://ocean.xyz/stats/${address}`;
} else if (info.stratumURL.includes('solo.xd-central.tech')) {
const address = info.stratumUser.split('.')[0]
return `https://solo.d-central.tech/#/app/${address}`;
} else {
return undefined;
}