Selaa lähdekoodia

user fomr added

ming 3 vuotta sitten
vanhempi
commit
04c61cda90
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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():