2 Commits
Author SHA1 Message Date
opencode 2a99258278 Fix download file extensions when Immich serves WebP previews
With maxDownloadQuality=preview and Immich generating WebP previews, the
zip entries and per-asset downloads were named .jpg while carrying WebP
bytes. Previews, converted fullsize images and transcodes follow the
server's image settings, so derive the extension from the upstream
content-type for every non-/original endpoint, via a shared
servedMimeFrom() in gallery/sizing.ts.
2026-10-05 09:12:34 +13:00
opencode bc30610e71 Create /app as node-owned in the Docker image
WORKDIR leaves it root-owned on non-BuildKit builders and COPY --chown
doesn't cover the pre-existing directory, so npm ci as node fails with
EACCES. CI never sees it because buildx chowns WORKDIR to USER.
2026-10-04 11:04:44 +02:00