Skip to content

Commit

Permalink
Re-order and fix regex
Browse files Browse the repository at this point in the history
  • Loading branch information
eandersson committed Dec 2, 2024
1 parent 54434f7 commit d6c9e77
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 d6c9e77

Please sign in to comment.