mirror of
https://github.com/Dvorinka/MyClubServer.git
synced 2026-10-28 15:41:16 +00:00
dev day #90 🥳
This commit is contained in:
1 parent
8762bde4bf
commit
f3db65d350
103 files changed
+4053
-2189
No files matched your search
@@ -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