refactor: extract client_manager
This commit is contained in:
parent
14df3a6ffb
commit
b2b5058784
2 changed files with 5 additions and 3 deletions
|
|
@ -22,10 +22,13 @@ def nostrrelay_renderer():
|
|||
return template_renderer(["lnbits/extensions/nostrrelay/templates"])
|
||||
|
||||
|
||||
from .client_manager import NostrClientManager
|
||||
from .models import NostrRelay
|
||||
from .views import * # noqa
|
||||
from .views_api import * # noqa
|
||||
|
||||
client_manager = NostrClientManager()
|
||||
|
||||
settings.lnbits_relay_information = {
|
||||
"name": "LNbits Nostr Relay",
|
||||
"description": "Multiple relays are supported",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue