bank: strip :443 from taler://withdraw URIs for wallet apps.
libeufin includes default HTTPS port; demo/auto-account APIs, refresh scripts, and landing JS now normalize hosts without :443. ensure-taler-apps also starts merchant ui-unlock after reboot.
This commit is contained in:
parent
360fb363de
commit
196ba7aba9
5 changed files with 56 additions and 11 deletions
|
|
@ -1597,8 +1597,10 @@ tw run-until-done && tw balance</pre>
|
|||
}
|
||||
|
||||
function setDemoWithdraw(uri, amount) {
|
||||
/* Keep host:port (…:443) — required for taler-integration withdraw */
|
||||
uri = String(uri || "").trim();
|
||||
/* Strip default :443 — libeufin adds it; wallets prefer host without port */
|
||||
uri = String(uri || "")
|
||||
.trim()
|
||||
.replace(/(taler:\/\/withdraw\/[^/:]+):443(?=\/|$)/g, "$1");
|
||||
var open = document.getElementById("open-withdraw-demo");
|
||||
var meta = document.getElementById("withdraw-demo-meta");
|
||||
if (open) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue