From ba6eb117283b4653b7a4255ac7ef17ca184fba18 Mon Sep 17 00:00:00 2001 From: Ben Hall Date: Sun, 9 Feb 2025 19:56:57 +0000 Subject: [PATCH] bump export file size validator Signed-off-by: Ben Hall --- app/http/endpoints/api/export/import.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/http/endpoints/api/export/import.go b/app/http/endpoints/api/export/import.go index 7adb1db..9954560 100644 --- a/app/http/endpoints/api/export/import.go +++ b/app/http/endpoints/api/export/import.go @@ -66,8 +66,8 @@ func ImportHandler(ctx *gin.Context) { v := validator.NewValidator( decryptedPublicKey, - validator.WithMaxUncompressedSize(250*1024*1024), - validator.WithMaxIndividualFileSize(1*1024*1024), + validator.WithMaxUncompressedSize(500*1024*1024), + validator.WithMaxIndividualFileSize(100*1024*1024), ) if dataFileExists {