fix: api server installation missing MANIFEST.in file

- Added MANIFEST.in to include webui files
- Removed /webui/ endpoint from lightrag_server.py
This commit is contained in:
yangdx
2025-03-04 12:09:00 +08:00
parent fb07bc04a0
commit b12c05ec0a
2 changed files with 1 additions and 4 deletions

1
MANIFEST.in Normal file
View File

@@ -0,0 +1 @@
recursive-include lightrag/api/webui *

View File

@@ -410,10 +410,6 @@ def create_app(args):
name="webui",
)
@app.get("/webui/")
async def webui_root():
return FileResponse(static_dir / "index.html")
return app