From d6c9e7729ac4e979bd4072bc4ee26304958ba578 Mon Sep 17 00:00:00 2001 From: Erik Olof Gunnar Andersson Date: Mon, 2 Dec 2024 13:46:46 +0100 Subject: [PATCH] Re-order and fix regex --- .../axe-os/src/app/components/home/home.component.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main/http_server/axe-os/src/app/components/home/home.component.ts b/main/http_server/axe-os/src/app/components/home/home.component.ts index 7fb60d2a..c339e5d7 100644 --- a/main/http_server/axe-os/src/app/components/home/home.component.ts +++ b/main/http_server/axe-os/src/app/components/home/home.component.ts @@ -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')) {