diff --git a/lnbits/extensions/withdraw/views.py b/lnbits/extensions/withdraw/views.py index 5babf777..f775fb70 100644 --- a/lnbits/extensions/withdraw/views.py +++ b/lnbits/extensions/withdraw/views.py @@ -156,6 +156,6 @@ def print_qr(urlstr): for d in range(len(randar)): url = url_for("withdraw.api_lnurlfetch", _external=True, urlstr=urlstr, parstr=fauid, rand=randar[d]) - lnurlar.append(lnurl_encode(url.replace("http", "https"))) + lnurlar.append(lnurl_encode(url.replace("http://", "https://"))) return render_template("withdraw/print.html", lnurlar=lnurlar, user_fau=user_fau[0],)