From 68e41789ce109ab561784f5de2e3a580aa8f189e Mon Sep 17 00:00:00 2001 From: frennkie Date: Sun, 12 Jul 2020 16:24:18 +0200 Subject: [PATCH] Update index.js `location.host` contains the hostname and the port while `location.hostname` is only the hostname --- lnbits/extensions/withdraw/static/js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnbits/extensions/withdraw/static/js/index.js b/lnbits/extensions/withdraw/static/js/index.js index 309908f..b827108 100644 --- a/lnbits/extensions/withdraw/static/js/index.js +++ b/lnbits/extensions/withdraw/static/js/index.js @@ -1,6 +1,6 @@ Vue.component(VueQrcode.name, VueQrcode); -var locationPath = [window.location.protocol, '//', window.location.hostname, window.location.pathname].join(''); +var locationPath = [window.location.protocol, '//', window.location.host, window.location.pathname].join(''); var mapWithdrawLink = function (obj) { obj._data = _.clone(obj);