Don't navigate to root when sub network url is wrong.

fixes #1399
This commit is contained in:
softsimon 2022-03-17 18:51:59 +01:00
parent bdfe31c601
commit a117e325e8
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7

View File

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