Browse Source

Update index.js

`location.host` contains the hostname and the port while `location.hostname` is only the hostname
LNURLwalletsupport
frennkie 5 years ago
committed by GitHub
parent
commit
68e41789ce
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      lnbits/extensions/withdraw/static/js/index.js

2
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);

Loading…
Cancel
Save