mirror of
https://github.com/lnbits/lnbits.git
synced 2025-10-09 20:12:34 +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 = FastAPI()
|
||||||
app.mount("/static", StaticFiles(directory="lnbits/static"), name="static")
|
app.mount("/static", StaticFiles(directory="lnbits/static"), name="static")
|
||||||
|
app.mount("/core/static", StaticFiles(directory="lnbits/core/static"), name="core_static")
|
||||||
|
|
||||||
origins = [
|
origins = [
|
||||||
"http://localhost",
|
"http://localhost",
|
||||||
|
Reference in New Issue
Block a user