capsul-flask/capsulflask/payment_btcpay.py

13 lines
291 B
Python
Raw Normal View History

2020-05-13 05:28:53 +00:00
from flask import Blueprint
from flask import render_template
from capsulflask.db import get_model
from capsulflask.auth import account_required
bp = Blueprint("btcpay", __name__, url_prefix="/btcpay")
@bp.route("/")
@account_required
def index():
return render_template("btcpay.html")