diff --git a/frontend/src/app/app-routing.module.ts b/frontend/src/app/app-routing.module.ts index 5262a431a..4fd1d2013 100644 --- a/frontend/src/app/app-routing.module.ts +++ b/frontend/src/app/app-routing.module.ts @@ -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) diff --git a/unfurler/src/routes.ts b/unfurler/src/routes.ts index 363d8e6c7..5b06c6a88 100644 --- a/unfurler/src/routes.ts +++ b/unfurler/src/routes.ts @@ -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'; }