Merge pull request #1400 from mempool/simon/default-redirect-fix

Don't navigate to root when sub network url is wrong.
This commit is contained in:
wiz 2022-03-17 18:57:31 +00:00 committed by GitHub
commit 58ab9cce46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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