😎代码优化
This commit is contained in:
parent
e469b70b92
commit
c0a77d620d
@ -17,7 +17,7 @@
|
||||
"IsEnableHttps": false, // 是否启用HTTPS
|
||||
"IsEnableCache": true, // 是否启用缓存
|
||||
"Bucket": "admin.net",
|
||||
"CustomHost": "" // 自定义Host,用于拼接外链的Host,留空则使用Endpoint拼接。由于公司MinioApi必须白名单IP访问,对外访问是另一个域名并且只许Get请求
|
||||
"CustomHost": "" // 自定义Host:拼接外链的Host,若空则使用Endpoint拼接
|
||||
},
|
||||
"SSHProvider": {
|
||||
"IsEnable": false,
|
||||
|
||||
@ -50,10 +50,11 @@ public sealed class OSSProviderOptions : OSSOptions, IConfigurableOptions
|
||||
/// 例:阿里云 1.只能包括小写字母,数字,短横线(-)2.必须以小写字母或者数字开头 3.长度必须在3-63字节之间
|
||||
/// </summary>
|
||||
public string Bucket { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 自定义Host
|
||||
/// 拼接外链的Host,若空则使用Endpoint拼接
|
||||
/// </summary>
|
||||
/// <remarks>用于拼接外链的Host,留空则使用Endpoint拼接。由于公司MinioApi必须白名单IP访问,对外访问是另一个域名并且只许Get请求</remarks>
|
||||
/// <remarks></remarks>
|
||||
public string CustomHost { get; set; }
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user