mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-28 21:02:31 +02:00
fix: missing static file serving folder
This commit is contained in:
@@ -38,6 +38,7 @@ async def create_app(config_object="lnbits.settings") -> FastAPI:
|
||||
"""
|
||||
app = FastAPI()
|
||||
app.mount("/static", StaticFiles(directory="lnbits/static"), name="static")
|
||||
app.mount("/core/static", StaticFiles(directory="lnbits/core/static"), name="core_static")
|
||||
|
||||
origins = [
|
||||
"http://localhost",
|
||||
|
Reference in New Issue
Block a user