repos / pico

pico services mono repo
git clone https://github.com/picosh/pico.git

commit
561ede5
parent
5324f7c
author
Eric Bower
date
2025-01-18 09:00:49 -0500 EST
chore(prose): limit image uploads to 50mb
1 files changed,  +1, -1
M prose/config.go
+1, -1
1@@ -15,7 +15,7 @@ func NewConfigSite() *shared.ConfigSite {
2 	minioUser := utils.GetEnv("MINIO_ROOT_USER", "")
3 	minioPass := utils.GetEnv("MINIO_ROOT_PASSWORD", "")
4 	dbURL := utils.GetEnv("DATABASE_URL", "")
5-	maxSize := uint64(500 * utils.MB)
6+	maxSize := uint64(50 * utils.MB)
7 	maxImgSize := int64(10 * utils.MB)
8 
9 	return &shared.ConfigSite{