前端重构 Vite

This commit is contained in:
2026-05-29 17:30:26 +08:00
parent cbd5d98993
commit 5bb9bc84ea
44 changed files with 7289 additions and 8769 deletions
+18
View File
@@ -226,6 +226,24 @@ async def users():
return FileResponse(os.path.join(os.getcwd(), "static", "index.html"))
@app.get("/moldinsight/result/{task_id:path}")
async def moldinsight_result(task_id: str):
from fastapi.responses import FileResponse
return FileResponse(os.path.join(os.getcwd(), "static", "index.html"))
@app.get("/_design-system")
async def design_system():
from fastapi.responses import FileResponse
return FileResponse(os.path.join(os.getcwd(), "static", "index.html"))
@app.get("/_release")
async def release():
from fastapi.responses import FileResponse
return FileResponse(os.path.join(os.getcwd(), "static", "index.html"))
if __name__ == "__main__":
import uvicorn
from config.settings import settings