Fix/hotfix tpos 2 (#783)
* fix older tpos without tips * bad math requesting invoice * make format
This commit is contained in:
+3
-1
@@ -48,7 +48,9 @@ def create_app(config_object="lnbits.settings") -> FastAPI:
|
||||
app = FastAPI()
|
||||
app.mount("/static", StaticFiles(packages=[("lnbits", "static")]), name="static")
|
||||
app.mount(
|
||||
"/core/static", StaticFiles(packages=[("lnbits.core", "static")]), name="core_static"
|
||||
"/core/static",
|
||||
StaticFiles(packages=[("lnbits.core", "static")]),
|
||||
name="core_static",
|
||||
)
|
||||
|
||||
origins = ["*"]
|
||||
|
||||
Reference in New Issue
Block a user