mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
reject empty file
This commit is contained in:
parent
504d8dc96c
commit
85a3854208
4 changed files with 9 additions and 22 deletions
|
|
@ -440,6 +440,6 @@ export class AssetUploadService extends BaseService {
|
|||
}
|
||||
|
||||
private getUploadLimits({ upload }: SystemConfig['backup']) {
|
||||
return `min-size=0, max-age=${upload.maxAgeHours * 3600}`;
|
||||
return `min-size=1, max-age=${upload.maxAgeHours * 3600}`;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue