Merge pull request #260 from WantClue/master

adding ckpool to quicklink
This commit is contained in:
WantClue 2024-07-25 19:49:40 +02:00 committed by GitHub
commit 4c118f873f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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