Skip to content

Commit

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

---------

Co-authored-by: dni ⚡ <office@dnilabs.com>
  • Loading branch information
talvasconcelos and dni authored Sep 26, 2023
1 parent 56a60c2 commit 9f909d4
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 @@
scrub_static_files = [
{
"path": "/scrub/static",
"app": StaticFiles(directory="lnbits/extensions/scrub/static"),
"name": "scrub_static",
}
]
Expand All @@ -24,7 +22,7 @@


def scrub_renderer():
return template_renderer(["lnbits/extensions/scrub/templates"])
return template_renderer(["scrub/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": "Scrub",
"short_description": "Pass payments to LNURLp/LNaddress",
"tile": "/scrub/static/image/scrub.png",
"contributors": ["arcbtc", "talvasconcelos"]
"contributors": ["arcbtc", "talvasconcelos"],
"min_lnbits_version": "0.11.0"
}

0 comments on commit 9f909d4

Please sign in to comment.