repos / pico

pico services - prose.sh, pastes.sh, imgs.sh, feeds.sh, pgs.sh
git clone https://github.com/picosh/pico.git

commit
22637b8
parent
a2877c7
author
Eric Bower
date
2024-04-09 15:49:43 +0000 UTC
fix(imgs): need allowed ext
1 files changed,  +1, -0
M imgs/config.go
+1, -0
1@@ -26,6 +26,7 @@ func NewConfigSite() *shared.ConfigSite {
2 		MinioUser:  minioUser,
3 		MinioPass:  minioPass,
4 		Space:      "imgs",
5+		AllowedExt:    []string{".jpg", ".jpeg", ".png", ".gif", ".webp", ".svg", ".ico"},
6 		Logger:     shared.CreateLogger(debug == "1"),
7 	}
8