mirror of
https://github.com/Dvorinka/MyClubServer.git
synced 2026-06-03 18:22:57 +00:00
dev day #90 🥳
This commit is contained in:
@@ -121,7 +121,7 @@ func LoadConfig() {
|
||||
|
||||
// File upload settings
|
||||
UploadDir: getEnv("UPLOAD_DIR", "./uploads"),
|
||||
MaxUploadSize: int64(getEnvAsInt("MAX_UPLOAD_SIZE", 10)) * 1024 * 1024, // 10MB default
|
||||
MaxUploadSize: int64(getEnvAsInt("MAX_UPLOAD_SIZE", 20)) * 1024 * 1024, // 20MB default
|
||||
AllowedMimeTypes: []string{
|
||||
// Images
|
||||
"image/jpeg",
|
||||
|
||||
Reference in New Issue
Block a user