mirror of
https://github.com/mempool/mempool.git
synced 2024-11-19 01:41:01 +01:00
Enable testnet4 unfurls
This commit is contained in:
parent
b6682eed2a
commit
ace422c0d5
@ -168,6 +168,10 @@ let routes: Routes = [
|
||||
path: 'testnet',
|
||||
loadChildren: () => import('./previews.module').then(m => m.PreviewsModule)
|
||||
},
|
||||
{
|
||||
path: 'testnet4',
|
||||
loadChildren: () => import('./previews.module').then(m => m.PreviewsModule)
|
||||
},
|
||||
{
|
||||
path: 'signet',
|
||||
loadChildren: () => import('./previews.module').then(m => m.PreviewsModule)
|
||||
|
@ -286,7 +286,7 @@ export function matchRoute(network: string, path: string, matchFor: string = 're
|
||||
if (parts[0] === 'preview') {
|
||||
parts.shift();
|
||||
}
|
||||
if (['testnet', 'signet'].includes(parts[0])) {
|
||||
if (['testnet', 'testnet4', 'signet'].includes(parts[0])) {
|
||||
match.networkMode = parts.shift() || 'mainnet';
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user