Skip to content

Commit

Permalink
allow custom path (#9)
Browse files Browse the repository at this point in the history
* allow custom path
* bump

---------

Co-authored-by: dni ⚡ <[email protected]>
  • Loading branch information
talvasconcelos and dni authored Sep 26, 2023
1 parent a2efae3 commit 4623b2e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 1 addition & 3 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -15,7 +14,6 @@
splitpayments_static_files = [
{
"path": "/splitpayments/static",
"app": StaticFiles(packages=[("lnbits", "extensions/splitpayments/static")]),
"name": "splitpayments_static",
}
]
Expand All @@ -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
Expand Down
3 changes: 2 additions & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit 4623b2e

Please sign in to comment.