mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-24 14:51:05 +01:00
15 lines
343 B
Python
15 lines
343 B
Python
from fastapi import APIRouter
|
|
|
|
from lnbits.db import Database
|
|
from lnbits.helpers import template_renderer
|
|
|
|
db = Database("ext_hivemind")
|
|
|
|
hivemind_ext: APIRouter = APIRouter(prefix="/hivemind", tags=["hivemind"])
|
|
|
|
|
|
def hivemind_renderer():
|
|
return template_renderer(["lnbits/extensions/hivemind/templates"])
|
|
|
|
|
|
from .views import * # noqa
|