Browse Source

Update index.html

fee_issues
Arc 5 years ago
committed by GitHub
parent
commit
7212bad783
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      lnbits/extensions/withdraw/templates/withdraw/index.html

2
lnbits/extensions/withdraw/templates/withdraw/index.html

@ -218,7 +218,7 @@
function erralert(){ function erralert(){
var myUrlPattern = '.onion'; var myUrlPattern = '.onion';
if (window.location.hostname.indexOf("168") > 3 || location.hostname === "localhost" || location.hostname === "127.0.0.1" || n > 2 || window.location.hostname.indexOf(myUrlPattern) >= 0){ if (window.location.hostname.indexOf("168") > 3 || location.hostname === "localhost" || location.hostname === "127.0.0.1" || window.location.hostname.indexOf(myUrlPattern) >= 0){
document.getElementById("erralert").innerHTML = "<div class='alert alert-danger alert-dismissable'>"+ document.getElementById("erralert").innerHTML = "<div class='alert alert-danger alert-dismissable'>"+
"<h4>*Running LNURLw locally will likely need an SSH tunnel, or DNS magic."+ "<h4>*Running LNURLw locally will likely need an SSH tunnel, or DNS magic."+
"</h4></div>"; "</h4></div>";

Loading…
Cancel
Save