Added tile and tweaked description for size limitation

This commit is contained in:
ben 2023-01-05 00:52:08 +00:00
parent 82eafe2900
commit cd05eba183
3 changed files with 11 additions and 2 deletions

View File

@ -1,4 +1,5 @@
from fastapi import APIRouter
from starlette.staticfiles import StaticFiles
from lnbits.db import Database
from lnbits.helpers import template_renderer
@ -7,6 +8,14 @@ db = Database("ext_deezy")
deezy_ext: APIRouter = APIRouter(prefix="/deezy", tags=["deezy"])
deezy_static_files = [
{
"path": "/deezy/static",
"app": StaticFiles(directory="lnbits/extensions/deezy/static"),
"name": "deezy_static",
}
]
def deezy_renderer():
return template_renderer(["lnbits/extensions/deezy/templates"])

View File

@ -1,6 +1,6 @@
{
"name": "Deezy",
"short_description": "Swap lightning to on-chain, or receive on-chain to lightning addresses.",
"icon": "swap_horiz",
"short_description": "LN to onchain, onchain to LN swaps",
"tile": "/deezy/static/deezy.png",
"contributors": ["Uthpala"]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB