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