Merge pull request #51 from frennkie/patch-1

Update index.js to include port in links
This commit is contained in:
Arc 2020-07-16 12:17:58 +01:00 committed by GitHub
commit 6c286cd265
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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