Setup redirect from /mining/blocks to /blocks - Update router links

This commit is contained in:
nymkappa
2022-05-21 08:47:49 +02:00
parent 109a5e9802
commit dadecc67c4
3 changed files with 17 additions and 2 deletions

View File

@@ -34,6 +34,11 @@ let routes: Routes = [
path: '',
component: MasterPageComponent,
children: [
{
path: 'mining/blocks',
redirectTo: 'blocks',
pathMatch: 'full'
},
{
path: 'tx/push',
component: PushTransactionComponent,
@@ -110,6 +115,11 @@ let routes: Routes = [
{
path: 'signet',
children: [
{
path: 'mining/blocks',
redirectTo: 'blocks',
pathMatch: 'full'
},
{
path: '',
pathMatch: 'full',
@@ -201,6 +211,11 @@ let routes: Routes = [
path: '',
component: MasterPageComponent,
children: [
{
path: 'mining/blocks',
redirectTo: 'blocks',
pathMatch: 'full'
},
{
path: 'tx/push',
component: PushTransactionComponent,