Songyou commited on
Commit
640be7b
·
verified ·
1 Parent(s): 433bf04

Update clm-frontend-dev.py

Browse files
Files changed (1) hide show
  1. clm-frontend-dev.py +0 -4
clm-frontend-dev.py CHANGED
@@ -16,10 +16,6 @@ class SmilesData(BaseModel):
16
 
17
  app = FastAPI()
18
 
19
- @app.get("/")
20
- async def root():
21
- return RedirectResponse(url="/ketcher/index.html")
22
-
23
  # 将 ketcher 目录挂载为静态资源,确保 ketcher/index.html 存在
24
  app.mount("/ketcher", StaticFiles(directory="ketcher"), name="ketcher")
25
 
 
16
 
17
  app = FastAPI()
18
 
 
 
 
 
19
  # 将 ketcher 目录挂载为静态资源,确保 ketcher/index.html 存在
20
  app.mount("/ketcher", StaticFiles(directory="ketcher"), name="ketcher")
21