Restrict accelerator routes to mainnet

This commit is contained in:
Mononaut
2024-07-12 09:29:21 +00:00
parent 871e590305
commit 985b7577e4
2 changed files with 20 additions and 4 deletions

View File

@@ -50,7 +50,7 @@ const routes: Routes = [
},
{
path: 'acceleration',
data: { networks: ['bitcoin'] },
data: { networks: ['bitcoin'], networkSpecific: true, onlySubnet: [''] },
component: StartComponent,
children: [
{
@@ -61,7 +61,7 @@ const routes: Routes = [
},
{
path: 'acceleration/list/:page',
data: { networks: ['bitcoin'] },
data: { networks: ['bitcoin'], networkSpecific: true, onlySubnet: [''] },
component: AccelerationsListComponent,
},
{
@@ -140,7 +140,7 @@ const routes: Routes = [
},
{
path: 'acceleration/fees',
data: { networks: ['bitcoin'] },
data: { networks: ['bitcoin'], networkSpecific: true, onlySubnet: [''] },
component: AccelerationFeesGraphComponent,
},
{