浏览代码

user fomr added

ming 3 年之前
父节点
当前提交
e4b328c6d6
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      main.py

+ 2 - 2
main.py

@@ -55,8 +55,8 @@ class anchor_request(BaseModel):
 async def root():
     return {"message": "Hello, this is index"}
 
-@app.get("/index")
-async def input_table():
+@app.get("/index2")
+async def index2():
     return FileResponse('index2.html')
 
 @app.post("/make_video_req")