From a117e325e8750f4bff8b6ce4b54b94ac067719f2 Mon Sep 17 00:00:00 2001 From: softsimon Date: Thu, 17 Mar 2022 18:51:59 +0100 Subject: [PATCH] Don't navigate to root when sub network url is wrong. fixes #1399 --- frontend/src/app/app-routing.module.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/app/app-routing.module.ts b/frontend/src/app/app-routing.module.ts index 4541a0a25..003bbcf0d 100644 --- a/frontend/src/app/app-routing.module.ts +++ b/frontend/src/app/app-routing.module.ts @@ -294,7 +294,7 @@ let routes: Routes = [ }, { path: '**', - redirectTo: '' + redirectTo: '/testnet' }, ] }, @@ -430,7 +430,7 @@ let routes: Routes = [ }, { path: '**', - redirectTo: '' + redirectTo: '/signet' }, ] }, @@ -738,7 +738,7 @@ if (browserWindowEnv && browserWindowEnv.BASE_MODULE === 'liquid') { }, { path: '**', - redirectTo: '' + redirectTo: '/testnet' }]; }