Merge pull request #1 from Danakcorp/uploader
fix(uploader): update max size upload file
This commit is contained in:
@@ -16,7 +16,7 @@ export class UploaderService {
|
||||
private readonly configService: ConfigService,
|
||||
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 = [
|
||||
"video/mp4",
|
||||
"video/webm",
|
||||
|
||||
Reference in New Issue
Block a user