Use https:// instead of http:// to query mempool.space API

This commit is contained in:
wiz 2020-10-12 14:26:01 +09:00
parent e37a9de71d
commit f5e270c770
No known key found for this signature in database
GPG Key ID: A394E332255A6173

View File

@ -178,7 +178,7 @@ class Server {
} else {
this.app
.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);
});
}
}