[PR #3103] refactor(server): file streaming logic #9857

Closed
opened 2026-02-05 14:11:57 +03:00 by OVERLORD · 0 comments
Owner

Original Pull Request: https://github.com/immich-app/immich/pull/3103

State: closed
Merged: Yes


Description

Switching to Express's sendFile results in much cleaner code that sets appropriate headers automatically. The current approach is too manual and error-prone in the absence of a good reason for it.

Fixes #3097

How Has This Been Tested?

Tested on web by scrolling, hovering on videos and live photos and switching between content in the expanded view. All content is shown as expected and no errors are reported in the server.

**Original Pull Request:** https://github.com/immich-app/immich/pull/3103 **State:** closed **Merged:** Yes --- ## Description Switching to Express's `sendFile` results in much cleaner code that sets appropriate headers automatically. The current approach is too manual and error-prone in the absence of a good reason for it. Fixes #3097 ## How Has This Been Tested? Tested on web by scrolling, hovering on videos and live photos and switching between content in the expanded view. All content is shown as expected and no errors are reported in the server.
OVERLORD added the pull-request label 2026-02-05 14:11:57 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#9857