mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-25 07:07:48 +01:00
fix main merge missing settings
This commit is contained in:
parent
3129692ab1
commit
42f6acd9f4
1 changed files with 5 additions and 0 deletions
|
@ -56,6 +56,11 @@ def create_app(config_object="lnbits.settings") -> FastAPI:
|
||||||
"url": "https://raw.githubusercontent.com/lnbits/lnbits-legend/main/LICENSE",
|
"url": "https://raw.githubusercontent.com/lnbits/lnbits-legend/main/LICENSE",
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
if lnbits.settings.LNBITS_ADMIN_UI:
|
||||||
|
g().admin_conf = conf
|
||||||
|
check_settings(app)
|
||||||
|
|
||||||
|
g().WALLET = WALLET
|
||||||
app.mount("/static", StaticFiles(packages=[("lnbits", "static")]), name="static")
|
app.mount("/static", StaticFiles(packages=[("lnbits", "static")]), name="static")
|
||||||
app.mount(
|
app.mount(
|
||||||
"/core/static",
|
"/core/static",
|
||||||
|
|
Loading…
Add table
Reference in a new issue