mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
feat(mobile): uploading files in chunk (#2101)
This commit is contained in:
parent
9adbbd42be
commit
b49f66bbc9
1 changed files with 1 additions and 0 deletions
|
|
@ -243,6 +243,7 @@ class BackupService {
|
||||||
);
|
);
|
||||||
req.headers["Authorization"] =
|
req.headers["Authorization"] =
|
||||||
"Bearer ${Store.get(StoreKey.accessToken)}";
|
"Bearer ${Store.get(StoreKey.accessToken)}";
|
||||||
|
req.headers["Transfer-Encoding"] = "chunked";
|
||||||
|
|
||||||
req.fields['deviceAssetId'] = entity.id;
|
req.fields['deviceAssetId'] = entity.id;
|
||||||
req.fields['deviceId'] = deviceId;
|
req.fields['deviceId'] = deviceId;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue