mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-06 07:34:26 +01:00
Initializing modal apiPrefix url, needed for bundling
This commit is contained in:
@@ -16,6 +16,7 @@ var BtcPayServerModal = (function () {
|
||||
else {
|
||||
waitForPayment.lock = true;
|
||||
}
|
||||
window.btcpay.setApiUrlPrefix(btcpayServerUrl);
|
||||
window.btcpay.onModalWillEnter(function () {
|
||||
var interval = setInterval(function () {
|
||||
getBtcPayInvoice(btcPayServerUrl, invoiceId, storeId)
|
||||
|
||||
Reference in New Issue
Block a user