removing /api again
This commit is contained in:
parent
2cbf1474c3
commit
5248fadcea
@ -17,7 +17,7 @@ export class ElectrsApiService {
|
|||||||
private stateService: StateService,
|
private stateService: StateService,
|
||||||
) {
|
) {
|
||||||
if (!stateService.isBrowser) {
|
if (!stateService.isBrowser) {
|
||||||
API_BASE_URL = this.stateService.env.ELECTRS_URL + '/api';
|
API_BASE_URL = this.stateService.env.ELECTRS_URL;
|
||||||
}
|
}
|
||||||
this.apiBaseUrl = API_BASE_URL.replace('{network}', '');
|
this.apiBaseUrl = API_BASE_URL.replace('{network}', '');
|
||||||
this.stateService.networkChanged$.subscribe((network) => {
|
this.stateService.networkChanged$.subscribe((network) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user