mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-25 23:21:21 +01:00
16 lines
370 B
Python
16 lines
370 B
Python
from fastapi import APIRouter
|
|
|
|
from lnbits.db import Database
|
|
from lnbits.helpers import template_renderer
|
|
|
|
db = Database("ext_paywall")
|
|
|
|
paywall_ext: APIRouter = APIRouter(prefix="/paywall", tags=["Paywall"])
|
|
|
|
|
|
def paywall_renderer():
|
|
return template_renderer(["lnbits/extensions/paywall/templates"])
|
|
|
|
|
|
from .views import * # noqa
|
|
from .views_api import * # noqa
|