reject empty file

This commit is contained in:
mertalev 2025-10-10 21:08:16 -04:00
parent 504d8dc96c
commit 85a3854208
No known key found for this signature in database
GPG key ID: DF6ABC77AAD98C95
4 changed files with 9 additions and 22 deletions

View file

@ -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}`;
}
}