File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 11import asyncio
22
33from fastapi import APIRouter
4- from fastapi .staticfiles import StaticFiles
54
65from lnbits .db import Database
76from lnbits .helpers import template_renderer
1413example_static_files = [
1514 {
1615 "path" : "/example/static" ,
17- "app" : StaticFiles (packages = [("lnbits" , "extensions/example/static" )]),
1816 "name" : "example_static" ,
1917 }
2018]
2119
2220
2321def example_renderer ():
24- return template_renderer (["lnbits/extensions/ example/templates" ])
22+ return template_renderer (["example/templates" ])
2523
2624
2725from .tasks import wait_for_paid_invoices
Original file line number Diff line number Diff line change 22 "name" : " Build your own!" ,
33 "short_description" : " Extension building guide" ,
44 "tile" : " /example/static/bitcoin-extension.png" ,
5- "contributors" : [" github_username" ]
5+ "contributors" : [" github_username" ],
6+ "min_lnbits_version" : " 0.11.0"
67}
You can’t perform that action at this time.
0 commit comments