File tree 9 files changed +2
-27
lines changed
9 files changed +2
-27
lines changed Original file line number Diff line number Diff line change @@ -54,11 +54,6 @@ plugin:
54
54
other : Access URL prefix
55
55
description :
56
56
other : prefix of the final access address of the uploaded file, ending with '/' https://example.com/xxx/
57
- max_file_size :
58
- title :
59
- other : Maximum file size(MB)
60
- description :
61
- other : Limit the maximum size of uploaded files, in MB, default is 10MB
62
57
err :
63
58
mis_storage_config :
64
59
other : Wrong storage configuration causes upload failure.
Original file line number Diff line number Diff line change @@ -35,8 +35,6 @@ const (
35
35
ConfigAccessKeySecretDescription = "plugin.aliyunoss_storage.backend.config.access_key_secret.description"
36
36
ConfigVisitUrlPrefixTitle = "plugin.aliyunoss_storage.backend.config.visit_url_prefix.title"
37
37
ConfigVisitUrlPrefixDescription = "plugin.aliyunoss_storage.backend.config.visit_url_prefix.description"
38
- ConfigMaxFileSizeTitle = "plugin.aliyunoss_storage.backend.config.max_file_size.title"
39
- ConfigMaxFileSizeDescription = "plugin.aliyunoss_storage.backend.config.max_file_size.description"
40
38
41
39
ErrMisStorageConfig = "plugin.aliyunoss_storage.backend.err.mis_storage_config"
42
40
ErrFileNotFound = "plugin.aliyunoss_storage.backend.err.file_not_found"
Original file line number Diff line number Diff line change @@ -54,11 +54,6 @@ plugin:
54
54
other : 访问URL前缀
55
55
description :
56
56
other : 上传文件最终访问地址的前缀,以 '/' 结尾 https://example.com/xxx/
57
- max_file_size :
58
- title :
59
- other : 最大文件大小(MB)
60
- description :
61
- other : 限制上传文件的最大大小,单位为MB,默认为 10MB
62
57
err :
63
58
mis_storage_config :
64
59
other : 错误的存储配置导致上传失败
Original file line number Diff line number Diff line change 17
17
18
18
slug_name : aliyunoss_storage
19
19
type : storage
20
- version : 1.2.11
20
+ version : 1.2.12
21
21
author : answerdev
22
22
link : https://github.com/apache/answer-plugins/tree/main/storage-aliyunoss
Original file line number Diff line number Diff line change @@ -59,11 +59,6 @@ plugin:
59
59
other : Access URL prefix
60
60
description :
61
61
other : prefix of the final access address of the uploaded file, ending with '/' https://example.com/xxx/
62
- max_file_size :
63
- title :
64
- other : Maximum file size(MB)
65
- description :
66
- other : Limit the maximum size of uploaded files, in MB, default is 10MB
67
62
region :
68
63
title :
69
64
other : Region
Original file line number Diff line number Diff line change @@ -37,8 +37,6 @@ const (
37
37
ConfigAccessTokenDescription = "plugin.s3_storage.backend.config.access_token.description"
38
38
ConfigVisitUrlPrefixTitle = "plugin.s3_storage.backend.config.visit_url_prefix.title"
39
39
ConfigVisitUrlPrefixDescription = "plugin.s3_storage.backend.config.visit_url_prefix.description"
40
- ConfigMaxFileSizeTitle = "plugin.s3_storage.backend.config.max_file_size.title"
41
- ConfigMaxFileSizeDescription = "plugin.s3_storage.backend.config.max_file_size.description"
42
40
ConfigRegionTitle = "plugin.s3_storage.backend.config.region.title"
43
41
ConfigRegionDescription = "plugin.s3_storage.backend.config.region.description"
44
42
ConfigDisableSSLTitle = "plugin.s3_storage.backend.config.disable_ssl.title"
Original file line number Diff line number Diff line change @@ -59,11 +59,6 @@ plugin:
59
59
other : 访问URL前缀
60
60
description :
61
61
other : 上传文件最终访问地址的前缀,以 '/' 结尾 https://example.com/xxx/
62
- max_file_size :
63
- title :
64
- other : 文件最大大小(MB)
65
- description :
66
- other : 限制上传文件的最大大小,单位MB,默认为10MB
67
62
region :
68
63
title :
69
64
other : 区域(Region)
Original file line number Diff line number Diff line change 17
17
18
18
slug_name : s3_storage
19
19
type : storage
20
- version : 1.2.11
20
+ version : 1.2.12
21
21
author : answerdev
22
22
link : https://github.com/apache/answer-plugins/tree/main/storage-s3
Original file line number Diff line number Diff line change @@ -51,7 +51,6 @@ type StorageConfig struct {
51
51
AccessKeySecret string `json:"access_key_secret"`
52
52
AccessToken string `json:"access_token"`
53
53
VisitUrlPrefix string `json:"visit_url_prefix"`
54
- MaxFileSize string `json:"max_file_size"`
55
54
Region string `json:"region"`
56
55
DisableSSL bool `json:"disable_ssl"`
57
56
}
You can’t perform that action at this time.
0 commit comments