fix: missing static file serving folder
This commit is contained in:
parent
83a9dc2a3e
commit
0806ccfbbd
1 changed files with 1 additions and 0 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue