feat(documents): rebuild project document workbench
This commit is contained in:
@@ -44,7 +44,7 @@ func LoadFromDir(configDir string) (Config, error) {
|
||||
return Config{}, err
|
||||
}
|
||||
if cfg.MaxUploadBytes <= 0 {
|
||||
cfg.MaxUploadBytes = 32 << 20
|
||||
cfg.MaxUploadBytes = 50 << 20
|
||||
}
|
||||
if strings.TrimSpace(cfg.StorageDir) == "" {
|
||||
return Config{}, fmt.Errorf("storage_dir must not be empty")
|
||||
|
||||
Reference in New Issue
Block a user