runner: allow subdirectories in --folder

This commit is contained in:
Aleix Conchillo Flaqué
2025-10-13 18:29:19 -07:00
parent 0588c82bbf
commit d9580f72a9
2 changed files with 6 additions and 1 deletions

View File

@@ -217,7 +217,7 @@ def _setup_webrtc_routes(
"""Redirect root requests to client interface."""
return RedirectResponse(url="/client/")
@app.get("/files/{filename}")
@app.get("/files/{filename:path}")
async def download_file(filename: str):
"""Handle file downloads."""
if not folder: