mirror of
https://github.com/mempool/mempool.git
synced 2024-12-28 17:24:25 +01:00
Fix for electrs requests on /bisq
This commit is contained in:
parent
24e40b25fd
commit
2b4b0d22ab
@ -19,7 +19,7 @@ export class ElectrsApiService {
|
|||||||
) {
|
) {
|
||||||
this.apiBaseUrl = API_BASE_URL.replace('{network}', '');
|
this.apiBaseUrl = API_BASE_URL.replace('{network}', '');
|
||||||
this.stateService.networkChanged$.subscribe((network) => {
|
this.stateService.networkChanged$.subscribe((network) => {
|
||||||
if (network === 'bisq' && !env.BISQ_SEPARATE_BACKEND) {
|
if (network === 'bisq') {
|
||||||
network = '';
|
network = '';
|
||||||
}
|
}
|
||||||
this.apiBaseUrl = API_BASE_URL.replace('{network}', network ? '/' + network : '');
|
this.apiBaseUrl = API_BASE_URL.replace('{network}', network ? '/' + network : '');
|
||||||
|
Loading…
Reference in New Issue
Block a user