Skip to content

Commit

Permalink
Merge pull request skot#542 from skot/fix_order
Browse files Browse the repository at this point in the history
Re-order and fix ckpool regex
  • Loading branch information
WantClue authored Dec 2, 2024
2 parents e621cba + d6c9e77 commit fe4ac7e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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')) {
Expand Down

0 comments on commit fe4ac7e

Please sign in to comment.