mirror of
https://github.com/suitenumerique/meet.git
synced 2026-10-03 20:40:46 +00:00
c49cee3ab4
Recordings were failing to download in the local stack because of several small issues stacked together: * nginx: add a `/media/recordings/` location that authorizes against `recordings/media-auth/`. Before, every media request went to `files/media-auth/`, which returned 403 for recording paths. * nginx: call `proxy_hide_header Content-Disposition` before `add_header Content-Disposition "attachment"`. Garage stored the header as `inline`, which combined with nginx's value into `inline, attachment` and broke browser downloads. * frontend: `mediaUrl()` now uses the frontend origin, so recording links go through the Vite `/media` proxy instead of hitting Django directly on `:8071`. * frontend: include the file extension in the download filename. co-author: cameldev