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 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",
|
||||||
|
|||||||
Reference in New Issue
Block a user