Merge pull request #987 from danielaskdd/fix-webui-install
fix: api server installation missing MANIFEST.in file
This commit is contained in:
commit
6094c62540
2 changed files with 1 additions and 5 deletions
1
MANIFEST.in
Normal file
1
MANIFEST.in
Normal file
|
|
@ -0,0 +1 @@
|
|||
recursive-include lightrag/api/webui *
|
||||
|
|
@ -6,7 +6,6 @@ from fastapi import (
|
|||
FastAPI,
|
||||
Depends,
|
||||
)
|
||||
from fastapi.responses import FileResponse
|
||||
import asyncio
|
||||
import os
|
||||
import logging
|
||||
|
|
@ -408,10 +407,6 @@ def create_app(args):
|
|||
name="webui",
|
||||
)
|
||||
|
||||
@app.get("/webui/")
|
||||
async def webui_root():
|
||||
return FileResponse(static_dir / "index.html")
|
||||
|
||||
return app
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue