mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-21 14:10:30 +02:00
fix main merge missing settings
This commit is contained in:
@@ -56,6 +56,11 @@ def create_app(config_object="lnbits.settings") -> FastAPI:
|
||||
"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(
|
||||
"/core/static",
|
||||
|
Reference in New Issue
Block a user