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 aaee9a0e55
commit edeece97f8

View File

@@ -294,7 +294,7 @@ let routes: Routes = [
}, },
{ {
path: '**', path: '**',
redirectTo: '' redirectTo: '/testnet'
}, },
] ]
}, },
@@ -430,7 +430,7 @@ let routes: Routes = [
}, },
{ {
path: '**', path: '**',
redirectTo: '' redirectTo: '/signet'
}, },
] ]
}, },
@@ -738,7 +738,7 @@ if (browserWindowEnv && browserWindowEnv.BASE_MODULE === 'liquid') {
}, },
{ {
path: '**', path: '**',
redirectTo: '' redirectTo: '/testnet'
}]; }];
} }