😎代码优化

This commit is contained in:
zuohuaijun 2024-09-06 23:48:53 +08:00
parent e469b70b92
commit c0a77d620d
2 changed files with 4 additions and 3 deletions

View File

@ -17,7 +17,7 @@
"IsEnableHttps": false, // HTTPS
"IsEnableCache": true, //
"Bucket": "admin.net",
"CustomHost": "" // HostHost使EndpointMinioApiIP访访Get
"CustomHost": "" // HostHost使Endpoint
},
"SSHProvider": {
"IsEnable": false,

View File

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