fix: adjust upload limits to 20MB profile, 30MB portfolio
This commit is contained in:
+2
-2
@@ -69,8 +69,8 @@ func limitBody(limit int64) func(http.Handler) http.Handler {
|
||||
|
||||
const (
|
||||
defaultBodyLimit int64 = 1 * 1024 * 1024 // 1MB
|
||||
uploadBodyLimit int64 = 15 * 1024 * 1024 // 15MB
|
||||
portfolioBodyLimit int64 = 40 * 1024 * 1024 // 40MB (7 variants from 20MB source)
|
||||
uploadBodyLimit int64 = 20 * 1024 * 1024 // 20MB
|
||||
portfolioBodyLimit int64 = 30 * 1024 * 1024 // 30MB (7 variants)
|
||||
)
|
||||
|
||||
// nColor / bColor — Chi-style ANSI colors for request logging.
|
||||
|
||||
Reference in New Issue
Block a user