Added tile

This commit is contained in:
ben 2023-01-09 11:26:20 +00:00
parent 878be3d019
commit ad2a6c7bc4
3 changed files with 11 additions and 2 deletions

View File

@ -1,6 +1,7 @@
import asyncio
from fastapi import APIRouter
from fastapi.staticfiles import StaticFiles
from lnbits.db import Database
from lnbits.helpers import template_renderer
@ -8,6 +9,14 @@ from lnbits.tasks import catch_everything_and_restart
db = Database("ext_smtp")
smtp_static_files = [
{
"path": "/smtp/static",
"app": StaticFiles(directory="lnbits/extensions/smtp/static"),
"name": "smtp_static",
}
]
smtp_ext: APIRouter = APIRouter(prefix="/smtp", tags=["smtp"])

View File

@ -1,6 +1,6 @@
{
"name": "SMTP",
"short_description": "Let users send emails via your SMTP and earn sats",
"icon": "email",
"short_description": "Charge sats for sending emails",
"tile": "/smtp/static/smtp-bitcoin-email.png",
"contributors": ["dni"]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB