mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-23 14:40:47 +01:00
Update index.js
`location.host` contains the hostname and the port while `location.hostname` is only the hostname
This commit is contained in:
parent
e746dcd787
commit
68e41789ce
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue