Make BTCPay webhook configurable.

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

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) => {