mirror of
https://github.com/skot/ESP-Miner.git
synced 2025-03-17 21:32:52 +01:00
detect ckpool when using solo, solo4 and solo6.ckpool.org stratum urls(#280)
This commit is contained in:
parent
c2f34aa823
commit
484039c3d9
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user