mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-29 02:30:55 +00:00
feat(upload): increase document upload size limits to 50MB across the application
This commit is contained in:
@@ -50,7 +50,7 @@ export class FileUploadField extends BaseEntity {
|
||||
})
|
||||
allowedExtensions!: string[];
|
||||
|
||||
@Column({ name: "max_size_mb", type: "integer", default: 10 })
|
||||
@Column({ name: "max_size_mb", type: "integer", default: 50 })
|
||||
maxSizeMb!: number;
|
||||
|
||||
@Column({ name: "display_order", type: "integer", default: 0 })
|
||||
|
||||
@@ -46,7 +46,7 @@ export function poaDelegationField(displayOrder: number): FileUploadField {
|
||||
isMultiple: false,
|
||||
maxFiles: 1,
|
||||
allowedExtensions: ["pdf", "jpg", "jpeg", "png"],
|
||||
maxSizeMb: 10,
|
||||
maxSizeMb: 50,
|
||||
displayOrder,
|
||||
} as FileUploadField;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user