You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@answer.apache.org by li...@apache.org on 2024/11/14 07:24:27 UTC
(incubator-answer) 01/02: feat(file): update the max image size
This is an automated email from the ASF dual-hosted git repository.
linkinstar pushed a commit to branch feat/1.4.2/tag
in repository https://gitbox.apache.org/repos/asf/incubator-answer.git
commit c8336de72e50bbae364b84534a7f872e2b724e04
Author: LinkinStars <li...@foxmail.com>
AuthorDate: Thu Nov 14 14:42:31 2024 +0800
feat(file): update the max image size
---
pkg/checker/file_type.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkg/checker/file_type.go b/pkg/checker/file_type.go
index 6c61dca2..fffcd960 100644
--- a/pkg/checker/file_type.go
+++ b/pkg/checker/file_type.go
@@ -35,7 +35,7 @@ import (
)
const (
- maxImageSize = 8192 * 8192
+ maxImageSize = 16384 * 16384
)
// IsSupportedImageFile currently answers support image type is