Update regexes in regex.utils.ts

This commit is contained in:
natsee committed 2023-12-31 23:46:06 +01:00
1 parent 6cea6ceb7e
commit bd34d71d8b
3 files changed
+105 -35

No files matched your search

@@ -12,6 +12,7 @@ export class RelativeUrlPipe implements PipeTransform {
transform(value: string, swapNetwork?: string): string {
let network = swapNetwork || this.stateService.network;
if (network === 'mainnet') network = '';
if (this.stateService.env.BASE_MODULE === 'liquid' && network === 'liquidtestnet') {
network = 'testnet';
} else if (this.stateService.env.BASE_MODULE !== 'mempool') {