improve frontend, no reloading. types in views_api, formatting
This commit is contained in:
parent
802d01cc4b
commit
bb1941445d
19 changed files with 134 additions and 119 deletions
|
|
@ -1,9 +1,8 @@
|
|||
from fastapi import APIRouter
|
||||
from starlette.staticfiles import StaticFiles
|
||||
|
||||
from lnbits.db import Database
|
||||
from lnbits.helpers import template_renderer
|
||||
from lnbits.tasks import catch_everything_and_restart
|
||||
from starlette.staticfiles import StaticFiles
|
||||
|
||||
db = Database("ext_nostrclient")
|
||||
|
||||
|
|
@ -22,11 +21,10 @@ def nostr_renderer():
|
|||
return template_renderer(["lnbits/extensions/nostrclient/templates"])
|
||||
|
||||
|
||||
from .tasks import init_relays, subscribe_events
|
||||
from .views import * # noqa
|
||||
from .views_api import * # noqa
|
||||
|
||||
from .tasks import init_relays, subscribe_events
|
||||
|
||||
|
||||
def nostrclient_start():
|
||||
loop = asyncio.get_event_loop()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue