Renaming default to root network

This commit is contained in:
softsimon
2024-06-16 10:50:31 +02:00
parent c0ec9f70c3
commit 2ee656a176
8 changed files with 15 additions and 15 deletions

View File

@@ -23,7 +23,7 @@ export class LightningApiService {
}
this.apiBasePath = ''; // assume mainnet by default
this.stateService.networkChanged$.subscribe((network) => {
this.apiBasePath = network && network !== this.stateService.env.DEFAULT_NETWORK ? '/' + network : '';
this.apiBasePath = network && network !== this.stateService.env.ROOT_NETWORK ? '/' + network : '';
});
}