Added tile and tweaked description for size limitation
This commit is contained in:
parent
82eafe2900
commit
cd05eba183
3 changed files with 11 additions and 2 deletions
|
|
@ -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"]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
BIN
lnbits/extensions/deezy/static/deezy.png
Normal file
BIN
lnbits/extensions/deezy/static/deezy.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.1 KiB |
Loading…
Add table
Add a link
Reference in a new issue