File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1
1
import asyncio
2
2
3
3
from fastapi import APIRouter
4
- from starlette .staticfiles import StaticFiles
5
4
from typing import List
6
5
7
6
from lnbits .db import Database
14
13
invoices_static_files = [
15
14
{
16
15
"path" : "/invoices/static" ,
17
- "app" : StaticFiles (directory = "lnbits/extensions/invoices/static" ),
18
16
"name" : "invoices_static" ,
19
17
}
20
18
]
23
21
24
22
25
23
def invoices_renderer ():
26
- return template_renderer (["lnbits/extensions/ invoices/templates" ])
24
+ return template_renderer (["invoices/templates" ])
27
25
28
26
29
27
from .tasks import wait_for_paid_invoices
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " Invoices" ,
3
3
"short_description" : " Create invoices for your clients." ,
4
- "tile" : " /invoices/static/image/invoices.png" ,
5
- "contributors" : [" leesalminen" ]
4
+ "tile" : " /invoices/static/image/invoices.png" ,
5
+ "contributors" : [" leesalminen" ],
6
+ "min_lnbits_version" : " 0.11.0"
6
7
}
You can’t perform that action at this time.
0 commit comments