Update __init__.py

Added temp screen for claiming lnurl
This commit is contained in:
Arc 2019-12-17 15:31:35 +00:00 committed by GitHub
parent 25458cf168
commit d1219aa85b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,6 +53,10 @@ def deletewallet():
return redirect(url_for("home")) 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") @app.route("/lnurlwallet")
def lnurlwallet(): def lnurlwallet():