mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-21 14:10:30 +02:00
Update views.py
This commit is contained in:
@@ -17,9 +17,9 @@ conf.get_default().log_event_callback = log_event_callback
|
|||||||
|
|
||||||
ngrok_tunnel = ngrok.connect(5000)
|
ngrok_tunnel = ngrok.connect(5000)
|
||||||
|
|
||||||
from . import freetunnel_ext
|
from . import ngrok_ext
|
||||||
|
|
||||||
@freetunnel_ext.route("/")
|
@ngrok_ext.route("/")
|
||||||
@validate_uuids(["usr"], required=True)
|
@validate_uuids(["usr"], required=True)
|
||||||
@check_user_exists()
|
@check_user_exists()
|
||||||
|
|
||||||
@@ -29,4 +29,4 @@ async def index():
|
|||||||
# return row
|
# return row
|
||||||
# return "Access and use your lnbits instance here: " + string5
|
# return "Access and use your lnbits instance here: " + string5
|
||||||
# return Ngrok.from_row(row) if row else None
|
# return Ngrok.from_row(row) if row else None
|
||||||
return await render_template("freetunnel/index.html", ngrok=string5)
|
return await render_template("ngrok/index.html", ngrok=string5)
|
||||||
|
Reference in New Issue
Block a user