So that /liquidtestnet is in links and link text.
This commit is contained in:
hunicus
2022-01-11 23:23:37 -05:00
parent 7cde365cc4
commit 975d142eeb
2 changed files with 9 additions and 5 deletions

View File

@@ -44,6 +44,10 @@ export class ApiDocsComponent implements OnInit {
tap((network: string) => {
if (this.env.BASE_MODULE === 'mempool' && network !== '') {
this.baseNetworkUrl = `/${network}`;
} else if (this.env.BASE_MODULE === 'liquid') {
if (!['', 'liquid'].includes(network)) {
this.baseNetworkUrl = `/${network}`;
}
}
return network;
})