Enable testnet4 unfurls

This commit is contained in:
Mononaut 2024-05-08 19:58:57 +00:00
parent b6682eed2a
commit ace422c0d5
No known key found for this signature in database
GPG Key ID: A3F058E41374C04E
2 changed files with 5 additions and 1 deletions

View File

@ -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)

View File

@ -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';
}