removing /api again

This commit is contained in:
softsimon 2020-11-23 21:59:30 +07:00
parent 2cbf1474c3
commit 5248fadcea
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7

View File

@ -17,7 +17,7 @@ export class ElectrsApiService {
private stateService: StateService,
) {
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.stateService.networkChanged$.subscribe((network) => {