Browse Source

#1639

update default value
tags/v1.22.4.1^2
chenyifan01 3 years ago
parent
commit
985a66b0f1
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      modules/setting/repository.go

+ 4
- 3
modules/setting/repository.go View File

@@ -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


Loading…
Cancel
Save