mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-27 20:36:16 +02:00
Update index.js
`location.host` contains the hostname and the port while `location.hostname` is only the hostname
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
Vue.component(VueQrcode.name, VueQrcode);
|
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) {
|
var mapWithdrawLink = function (obj) {
|
||||||
obj._data = _.clone(obj);
|
obj._data = _.clone(obj);
|
||||||
|
Reference in New Issue
Block a user