fix(uploader): update max size upload file

This commit is contained in:
saharbolboliankhah
2025-10-25 21:02:46 +03:30
parent 7c311a1f4c
commit 96946f9d5f
@@ -16,7 +16,7 @@ export class UploaderService {
private readonly configService: ConfigService, private readonly configService: ConfigService,
private readonly s3Service: S3Service, private readonly s3Service: S3Service,
) { ) {
this.maxFileSize = this.configService.get("MAX_FILE_SIZE", 1024 * 1024 * 100); // 100MB this.maxFileSize = +this.configService.get("MAX_FILE_SIZE", 1024 * 1024 * 150); // 100MB
this.allowedMimeTypes = [ this.allowedMimeTypes = [
"video/mp4", "video/mp4",
"video/webm", "video/webm",