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 774a76b70b
commit 907fe6765f
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');
}
}