Make BTCPay webhook configurable.

refs #122
This commit is contained in:
softsimon committed 2020-10-08 00:15:26 +07:00
1 parent 5b8dbfca74
commit 0cbc7e2ab6
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ class Donations {
'orderId': orderId,
'currency': 'BTC',
'itemDesc': 'Sponsor mempool.space',
'notificationUrl': 'https://mempool.space/api/v1/donations-webhook',
'notificationUrl': config.BTCPAY_WEBHOOK_URL,
'redirectURL': 'https://mempool.space/about'
};
return new Promise((resolve, reject) => {