A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
feat(file): update the max image size
LinkinStarsc8336de72e50
diff --git a/pkg/checker/file_type.go b/pkg/checker/file_type.goindex 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