Added tile and tweaked description for size limitation
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
from fastapi import APIRouter
|
from fastapi import APIRouter
|
||||||
|
from starlette.staticfiles import StaticFiles
|
||||||
|
|
||||||
from lnbits.db import Database
|
from lnbits.db import Database
|
||||||
from lnbits.helpers import template_renderer
|
from lnbits.helpers import template_renderer
|
||||||
@@ -7,6 +8,14 @@ db = Database("ext_deezy")
|
|||||||
|
|
||||||
deezy_ext: APIRouter = APIRouter(prefix="/deezy", tags=["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():
|
def deezy_renderer():
|
||||||
return template_renderer(["lnbits/extensions/deezy/templates"])
|
return template_renderer(["lnbits/extensions/deezy/templates"])
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "Deezy",
|
"name": "Deezy",
|
||||||
"short_description": "Swap lightning to on-chain, or receive on-chain to lightning addresses.",
|
"short_description": "LN to onchain, onchain to LN swaps",
|
||||||
"icon": "swap_horiz",
|
"tile": "/deezy/static/deezy.png",
|
||||||
"contributors": ["Uthpala"]
|
"contributors": ["Uthpala"]
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 5.1 KiB |
Reference in New Issue
Block a user