fixed bug

This commit is contained in:
Ben Arc
2021-07-03 15:00:08 +01:00
parent 117ae1aec3
commit 8619da29cf
4 changed files with 40 additions and 48 deletions
+1 -2
View File
@@ -3,6 +3,7 @@ from quart import g, render_template
from lnbits.decorators import check_user_exists, validate_uuids
from pyngrok import conf, ngrok
from . import ngrok_ext
def log_event_callback(log):
string = str(log)
@@ -17,8 +18,6 @@ conf.get_default().log_event_callback = log_event_callback
ngrok_tunnel = ngrok.connect(5000)
from . import ngrok_ext
@ngrok_ext.route("/")
@validate_uuids(["usr"], required=True)
@check_user_exists()