소스 검색

static page

ming 3 년 전
부모
커밋
318f66ad73
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      main.py

+ 6 - 0
main.py

@@ -56,6 +56,12 @@ async def root():
 @app.get("/index2")
 async def index2():
     return FileResponse('index2.html')
+@app.get("/script_msg.js")
+async def index2():
+    return FileResponse('script_msg.js')
+@app.get("/style.css")
+async def index2():
+    return FileResponse('style.css')
 
 @app.post("/make_video_req")
 async def make_video_req(req:request):