diff --git a/index.html b/index.html index e1612b8..d9faeee 100644 --- a/index.html +++ b/index.html @@ -444,7 +444,7 @@ async function fetchData() { async function fetchMinAmount() { const chain = getChain(); try { - const r = await fetch('/min_amount/' + chain); + const r = await fetch('/min_deposit/' + chain); const val = parseInt(await r.text(), 10); if (isNaN(val)) throw new Error('invalid'); minAmount = val; diff --git a/terms.html b/terms.html index 46aa953..7606be9 100644 --- a/terms.html +++ b/terms.html @@ -177,7 +177,7 @@ footer a{color:var(--accent);text-decoration:none} (async function() { const chain = location.hash ? location.hash.slice(1) : 'bitcoin'; try { - const r = await fetch('/min_amount/' + chain); + const r = await fetch('/min_deposit/' + chain); const val = parseInt(await r.text(), 10); if (!isNaN(val)) { document.getElementById('thr-min').textContent = Number(val).toLocaleString('en-US');