Fixed path for extension templates

This commit is contained in:
ben
2022-07-23 20:08:59 +01:00
parent 984f06239f
commit 0e8da3c368
9 changed files with 10 additions and 9 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ bleskomat_ext: APIRouter = APIRouter(prefix="/bleskomat", tags=["Bleskomat"])
def bleskomat_renderer():
return template_renderer([StaticFiles(packages=[("lnbits", "extensions/bleskomat/static/templates")])])
return template_renderer(["lnbits/extensions/bleskomat/templates"])
from .lnurl_api import * # noqa