From 1e36a8a393cab168c04cfa5f6096a024386f46ef Mon Sep 17 00:00:00 2001 From: Robert Habermann Date: Sun, 2 Aug 2020 20:01:07 +0200 Subject: [PATCH] add missing protocol (to ensure http - or more likely - https://) --- lnbits/extensions/withdraw/templates/withdraw/print_qr.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lnbits/extensions/withdraw/templates/withdraw/print_qr.html b/lnbits/extensions/withdraw/templates/withdraw/print_qr.html index 0da0db6a..61b59d51 100644 --- a/lnbits/extensions/withdraw/templates/withdraw/print_qr.html +++ b/lnbits/extensions/withdraw/templates/withdraw/print_qr.html @@ -68,12 +68,12 @@ mixins: [windowMixin], data: function () { return { - theurl: location.host, + theurl: location.protocol + '//' + location.host, printDialog: { show: true, data: null } - } + }; } })