@app.get("/control")
async def serve_control():
return FileResponse(os.path.join("app", "static", "control.html"))
@app.get("/video")
async def serve_video():
return FileResponse(os.path.join("app", "static", "video.html"))
@app.get("/info")
async def serve_info():
return FileResponse(os.path.join("app", "static", "info.html"))