mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-24 14:51:05 +01:00
17 lines
405 B
Python
17 lines
405 B
Python
from fastapi import APIRouter
|
|
|
|
from lnbits.db import Database
|
|
from lnbits.helpers import template_renderer
|
|
|
|
db = Database("ext_satsdice")
|
|
|
|
satsdice_ext: APIRouter = APIRouter(prefix="/satsdice", tags=["satsdice"])
|
|
|
|
|
|
def satsdice_renderer():
|
|
return template_renderer(["lnbits/extensions/satsdice/templates"])
|
|
|
|
|
|
from .lnurl import * # noqa
|
|
from .views import * # noqa
|
|
from .views_api import * # noqa
|