瀏覽代碼

user fomr added

ming 3 年之前
父節點
當前提交
04c61cda90
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      main.py

+ 1 - 1
main.py

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