mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
Initializing modal apiPrefix url, needed for bundling
This commit is contained in:
parent
858d56d20c
commit
a93e3be197
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue