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():