From 7212bad783c386b1215798a75bbe48eec35151b4 Mon Sep 17 00:00:00 2001 From: Arc <33088785+arcbtc@users.noreply.github.com> Date: Wed, 19 Feb 2020 14:26:04 +0000 Subject: [PATCH] Update index.html --- lnbits/extensions/withdraw/templates/withdraw/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnbits/extensions/withdraw/templates/withdraw/index.html b/lnbits/extensions/withdraw/templates/withdraw/index.html index 66b55827b..3f22ad82e 100644 --- a/lnbits/extensions/withdraw/templates/withdraw/index.html +++ b/lnbits/extensions/withdraw/templates/withdraw/index.html @@ -218,7 +218,7 @@ function erralert(){ 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 = "
"+ "

*Running LNURLw locally will likely need an SSH tunnel, or DNS magic."+ "

";