mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-24 22:58:46 +01:00
17 lines
352 B
Python
17 lines
352 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
|