Use https:// instead of http:// to query mempool.space API
This commit is contained in:
parent
e37a9de71d
commit
f5e270c770
@ -178,7 +178,7 @@ class Server {
|
|||||||
} else {
|
} else {
|
||||||
this.app
|
this.app
|
||||||
.get(config.API_ENDPOINT + 'donations', (req, res) => {
|
.get(config.API_ENDPOINT + 'donations', (req, res) => {
|
||||||
req.pipe(request('http://mempool.space/api/v1/donations')).pipe(res);
|
req.pipe(request('https://mempool.space/api/v1/donations')).pipe(res);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user