1
0
mirror of https://github.com/immich-app/immich.git synced 2025-08-09 23:17:29 +02:00

Fixed issue socket-io cannot be connected in production build on web

This commit is contained in:
Alex Tran
2022-06-19 09:33:10 -05:00
parent 799a1c99f2
commit 4aa66f4156
3 changed files with 2 additions and 2 deletions

View File

@@ -244,6 +244,7 @@ export class AssetService {
}
/** Sending Partial Content With HTTP Code 206 */
console.log('Send Range', range);
res.status(206).set({
'Content-Range': `bytes ${start}-${end}/${size}`,
'Accept-Ranges': 'bytes',