Skip to content

Commit

Permalink
detect ckpool when using solo, solo4 and solo6.ckpool.org stratum urls(
Browse files Browse the repository at this point in the history
  • Loading branch information
onlyblackstars authored Sep 28, 2024
1 parent c2f34aa commit 484039c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ 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')) {
} else if (/solo[46]?.ckpool.org/.test(info.stratumURL)) {
const address = info.stratumUser.split('.')[0]
return `https://solo.ckpool.org/users/${address}`;
} else {
Expand Down

0 comments on commit 484039c

Please sign in to comment.