Merge pull request #542 from skot/fix_order

Re-order and fix ckpool regex
This commit is contained in:
WantClue 2024-12-02 14:09:35 +01:00 committed by GitHub
commit fe4ac7e305
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -229,10 +229,10 @@ export class HomeComponent {
return `https://ocean.xyz/stats/${address}`;
} else if (stratumURL.includes('solo.d-central.tech')) {
return `https://solo.d-central.tech/#/app/${address}`;
} else if (/solo[46]?.ckpool.org/.test(stratumURL)) {
return `https://solostats.ckpool.org/users/${address}`;
} else if (/eusolo[46]?.ckpool.org/.test(stratumURL)) {
} else if (/^eusolo[46]?.ckpool.org/.test(stratumURL)) {
return `https://eusolostats.ckpool.org/users/${address}`;
} else if (/^solo[46]?.ckpool.org/.test(stratumURL)) {
return `https://solostats.ckpool.org/users/${address}`;
} else if (stratumURL.includes('pool.noderunners.network')) {
return `https://noderunners.network/en/pool/user/${address}`;
} else if (stratumURL.includes('satoshiradio.nl')) {