fix: missing static file serving folder
This commit is contained in:
parent
83a9dc2a3e
commit
0806ccfbbd
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user