mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-24 14:51:05 +01:00
14 lines
366 B
Python
14 lines
366 B
Python
#add your dependencies here
|
|
|
|
from flask import jsonify, render_template, request, redirect, url_for
|
|
from lnbits.db import open_db, open_ext_db
|
|
from lnbits.extensions.example import example_ext
|
|
|
|
#add your endpoints here
|
|
|
|
@example_ext.route("/")
|
|
def index():
|
|
"""Try to add descriptions for others."""
|
|
return render_template(
|
|
"example/index.html"
|
|
)
|