From d1219aa85b277bd02b7f50043bdf768ce2a120b9 Mon Sep 17 00:00:00 2001 From: Arc <33088785+arcbtc@users.noreply.github.com> Date: Tue, 17 Dec 2019 15:31:35 +0000 Subject: [PATCH] Update __init__.py Added temp screen for claiming lnurl --- LNbits/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/LNbits/__init__.py b/LNbits/__init__.py index a42afa0..65fdded 100644 --- a/LNbits/__init__.py +++ b/LNbits/__init__.py @@ -53,6 +53,10 @@ def deletewallet(): return redirect(url_for("home")) +@app.route("/lnurl") +def lnurl(): + lnurl = request.args.get("lightning") + return render_template("lnurl.html", lnurl=lnurl) @app.route("/lnurlwallet") def lnurlwallet():