Ver Fonte

user fomr added

ming há 3 anos atrás
pai
commit
04c61cda90
1 ficheiros alterados com 1 adições e 1 exclusões
  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():