diff --git a/__init__.py b/__init__.py index 95b48bc..aeca6cd 100644 --- a/__init__.py +++ b/__init__.py @@ -2,7 +2,6 @@ from typing import List from fastapi import APIRouter -from fastapi.staticfiles import StaticFiles from lnbits.db import Database from lnbits.helpers import template_renderer @@ -15,7 +14,6 @@ splitpayments_static_files = [ { "path": "/splitpayments/static", - "app": StaticFiles(packages=[("lnbits", "extensions/splitpayments/static")]), "name": "splitpayments_static", } ] @@ -25,7 +23,7 @@ def splitpayments_renderer(): - return template_renderer(["lnbits/extensions/splitpayments/templates"]) + return template_renderer(["splitpayments/templates"]) from .tasks import wait_for_paid_invoices diff --git a/config.json b/config.json index c5aee53..a95c729 100644 --- a/config.json +++ b/config.json @@ -2,5 +2,6 @@ "name": "Split Payments", "short_description": "Split incoming payments across wallets", "tile": "/splitpayments/static/image/split-payments.png", - "contributors": ["fiatjaf", "cryptograffiti"] + "contributors": ["fiatjaf", "cryptograffiti"], + "min_lnbits_version": "0.11.0" }