Skip to content

Commit

Permalink
updated urls for lnd-admin and btcpay
Browse files Browse the repository at this point in the history
  • Loading branch information
janoside committed Sep 9, 2020
1 parent 4dae273 commit 5006125
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
7 changes: 2 additions & 5 deletions app/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ module.exports = {
links:[
{name: "Bitcoin Explorer", url:"https://explorer.btc21.org", imgUrl:"/img/logo/btc.svg"},
{name: "Testnet Explorer", url:"https://testnet.btc21.org", imgUrl:"/img/logo/tbtc.svg"},
{name: "LND Admin", url:"https://lnd-admin.chaintools.io", imgUrl:"/img/logo/lnd-admin.png"},
{name: "LND Admin", url:"https://lnd-admin.btc21.org", imgUrl:"/img/logo/lnd-admin.png"},
//{name: "Litecoin Explorer", url:"https://ltc.chaintools.io", imgUrl:"/img/logo/ltc.svg"},
//{name: "Lightning Explorer", url:"https://lightning.chaintools.io", imgUrl:"/img/logo/lightning.svg"},
]
Expand Down Expand Up @@ -220,10 +220,7 @@ module.exports = {
sites:{"BTC":"https://explorer.btc21.org"}
},
btcpayserver:{
host:"https://donate.btc21.org",
storeId:"26k74KRh7RYmJcMDqvmdKTb2h3991FMTZSM4GJHnX6st",
notifyEmail:"[email protected]",
customAmountUrl: "https://donate.btc21.org/apps/2TBP2GuQnYXGBiHQkmf4jNuMh6eN/pos"
host:"https://donate.btc21.org"
}
}
};
Expand Down
4 changes: 2 additions & 2 deletions views/includes/donation-modal.pug
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
h6.mb-3 Thanks

if (config.donations.btcpayserver)
if (config.donations.btcpayserver.customAmountUrl)
if (config.donations.btcpayserver.host)
div
a.btn.btn-primary(href=config.donations.btcpayserver.customAmountUrl) Donate
a.btn.btn-primary(href=config.donations.btcpayserver.host) Donate

if (false)
h6
Expand Down
2 changes: 1 addition & 1 deletion views/layout.pug
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ html(lang="en")
a.mr-2(href=demoSite.url, title=demoSite.title)
img(src=demoSite.logoUrl, alt=demoSite.title)

a.mr-2(href="https://lnd-admin.chaintools.io", title="LND Admin")
a.mr-2(href="https://lnd-admin.btc21.org", title="LND Admin")
img(src=("/img/logo/lnd-admin.png"), style="width: 32px; height: 32px;", alt="LND Admin")

div.col-md-7.text-md-right
Expand Down

0 comments on commit 5006125

Please sign in to comment.