WEB API independent

This commit is contained in:
tuyang.yhj
2023-06-30 13:17:58 +08:00
parent aed2cb21a9
commit c621bf1e33
2 changed files with 2 additions and 2 deletions

View File

@@ -97,7 +97,7 @@ def knowledge_list():
return params
@router.get("/index")
@router.get("/")
async def read_main():
return FileResponse(f"{static_file_path}/index.html")