chore: code format
This commit is contained in:
parent
30ffcf7f55
commit
3aa4875558
3 changed files with 10 additions and 10 deletions
11
__init__.py
11
__init__.py
|
|
@ -21,17 +21,16 @@ nostrrelay_static_files = [
|
|||
]
|
||||
|
||||
nostrrelay_redirect_paths = [
|
||||
{
|
||||
"from_path": "/",
|
||||
"redirect_to_path": "/api/v1/relay-info",
|
||||
"header_filters": {
|
||||
"accept": "application/nostr+json"
|
||||
{
|
||||
"from_path": "/",
|
||||
"redirect_to_path": "/api/v1/relay-info",
|
||||
"header_filters": {"accept": "application/nostr+json"},
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
scheduled_tasks: List[asyncio.Task] = []
|
||||
|
||||
|
||||
def nostrrelay_renderer():
|
||||
return template_renderer(["lnbits/extensions/nostrrelay/templates"])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue