All extension icons swapped for logo tiles
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
from fastapi import APIRouter
|
||||
from fastapi.staticfiles import StaticFiles
|
||||
|
||||
from lnbits.db import Database
|
||||
from lnbits.helpers import template_renderer
|
||||
@@ -7,6 +8,14 @@ db = Database("ext_streamalerts")
|
||||
|
||||
streamalerts_ext: APIRouter = APIRouter(prefix="/streamalerts", tags=["streamalerts"])
|
||||
|
||||
streamalerts_static_files = [
|
||||
{
|
||||
"path": "/streamalerts/static",
|
||||
"app": StaticFiles(directory="lnbits/extensions/streamalerts/static"),
|
||||
"name": "streamalerts_static",
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
def streamalerts_renderer():
|
||||
return template_renderer(["lnbits/extensions/streamalerts/templates"])
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "Stream Alerts",
|
||||
"short_description": "Bitcoin donations in stream alerts",
|
||||
"tile": "/cashu/static/image/tile.png",
|
||||
"tile": "./streamalerts/static/image/streamalerts.png",
|
||||
"contributors": ["Fittiboy"]
|
||||
}
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
Reference in New Issue
Block a user