소스 검색

change index

ming 4 년 전
부모
커밋
400f6a71b1
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      similar_web/main.py

+ 3 - 0
similar_web/main.py

@@ -84,6 +84,9 @@ async def index():
 async def index():
     return FileResponse('main.css')
 
+@app.get("/")
+async def root():
+    return FileResponse('index2.html')
 @app.get("/index")
 async def index():
     return FileResponse('index2.html')