Raise compliance report upload limit to 30MB
Third-party compliance report PDFs were rejected above 10MB in the upload dialog. Increase the client-side Dropzone limit and enforce the same cap on the backend file validator. Signed-off-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Bryan FRIMIN <bryan@frimin.fr>
This commit is contained in:
committed by
Sacha Al Himdani
parent
2fb06d742e
commit
a0329a9696
@@ -214,6 +214,7 @@ func NewService(
|
||||
svc: svc,
|
||||
fileValidator: filevalidation.NewValidator(
|
||||
filevalidation.WithCategories(filevalidation.CategoryDocument),
|
||||
filevalidation.WithMaxFileSize(30*1024*1024), // 30MB
|
||||
),
|
||||
}
|
||||
svc.ThirdPartyBusinessAssociateAgreements = &ThirdPartyBusinessAssociateAgreementService{svc: svc}
|
||||
|
||||
Reference in New Issue
Block a user