mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-24 14:51:05 +01:00
14 lines
No EOL
425 B
Python
14 lines
No EOL
425 B
Python
from flask import g, abort, render_template, jsonify
|
|
import json
|
|
from lnbits.decorators import check_user_exists, validate_uuids
|
|
from lnbits.extensions.diagonalley import diagonalley_ext
|
|
from lnbits.helpers import Status
|
|
from lnbits.db import open_ext_db
|
|
|
|
|
|
@diagonalley_ext.route("/")
|
|
@validate_uuids(["usr"], required=True)
|
|
@check_user_exists()
|
|
def index():
|
|
|
|
return render_template("diagonalley/index.html", user=g.user) |