Skip to content

Commit

Permalink
allow custom path (#4)
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 a42fa21 commit da04fe3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions __init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from fastapi import APIRouter
from fastapi.staticfiles import StaticFiles

from lnbits.db import Database
from lnbits.helpers import template_renderer
Expand All @@ -11,7 +10,6 @@
streamalerts_static_files = [
{
"path": "/streamalerts/static",
"app": StaticFiles(directory="lnbits/extensions/streamalerts/static"),
"name": "streamalerts_static",
}
]
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": "Stream Alerts",
"short_description": "Bitcoin donations in stream alerts",
"tile": "/streamalerts/static/image/streamalerts.png",
"contributors": ["Fittiboy"]
"contributors": ["Fittiboy"],
"min_lnbits_version": "0.11.0"
}

0 comments on commit da04fe3

Please sign in to comment.