"""Static file serving that can bring a job's files back before answering 404. ``OUTPUT_DIR`` is not durable: a redeploy or the hourly sweep wipes a finished job, while the user's library still points at ``/videos//``. The API endpoints re-pull a project from R2 on demand (``app._ensure_job_files``), but ``/videos`` was a plain ``StaticFiles`` mount, so when the dashboard reopened a project it fired the 15 transcript requests (which restored the job, ~25 s for 2 GB) and the 15 ``