|
|
@@ -106,6 +106,7 @@ var ( |
|
|
|
DisabledRepoUnits: []string{}, |
|
|
|
DefaultRepoUnits: []string{}, |
|
|
|
PrefixArchiveFiles: true, |
|
|
|
RepoMaxSize: 1024, |
|
|
|
|
|
|
|
// Repository editor settings |
|
|
|
Editor: struct { |
|
|
@@ -128,9 +129,9 @@ var ( |
|
|
|
Enabled: true, |
|
|
|
TempPath: "data/tmp/uploads", |
|
|
|
AllowedTypes: []string{}, |
|
|
|
FileMaxSize: 3, |
|
|
|
MaxFiles: 5, |
|
|
|
TotalMaxSize: 100, |
|
|
|
FileMaxSize: 30, |
|
|
|
MaxFiles: 10, |
|
|
|
TotalMaxSize: 1024, |
|
|
|
}, |
|
|
|
|
|
|
|
// Repository local settings |
|
|
|