Proxy donation requests to mempool.space when BTCPay Sponsors is disabled.

This commit is contained in:
softsimon
2020-10-12 10:50:10 +07:00
parent 7673bf13b9
commit e37a9de71d
3 changed files with 9 additions and 7 deletions

View File

@@ -73,8 +73,4 @@ export class ApiService {
getDonation$(): Observable<any[]> {
return this.httpClient.get<any[]>(this.apiBaseUrl + '/donations');
}
getDonationRemote$(): Observable<any[]> {
return this.httpClient.get<any[]>('http://mempool.space/api/v1/donations');
}
}