Allow for custom image logo (#642)

* first test

* add custom URL logo

* some styling

* fixed typo, wrong import

* Update .env.example

Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>

Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
This commit is contained in:
Tiago Vasconcelos
2022-06-08 16:23:36 +02:00
committed by GitHub
co-authored by calle
parent 906f0166bd
commit 77fbea25af
5 changed files with 23 additions and 12 deletions
+3 -3
View File
@@ -1,10 +1,9 @@
import subprocess
import importlib
from environs import Env # type: ignore
import subprocess
from os import path
from typing import List
from environs import Env # type: ignore
env = Env()
env.read_env()
@@ -47,6 +46,7 @@ LNBITS_THEME_OPTIONS: List[str] = env.list(
default="classic, flamingo, mint, salvador, monochrome, autumn",
subcast=str,
)
LNBITS_CUSTOM_LOGO = env.str("LNBITS_CUSTOM_LOGO", default="")
WALLET = wallet_class()
DEFAULT_WALLET_NAME = env.str("LNBITS_DEFAULT_WALLET_NAME", default="LNbits wallet")