mirror of
https://github.com/DullJZ/s3-balance.git
synced 2026-09-08 09:26:38 +08:00
Fix default proxy_mode
This commit is contained in:
@@ -171,9 +171,6 @@ func (c *Config) SetDefaults() {
|
|||||||
if c.S3API.SecretKey == "" {
|
if c.S3API.SecretKey == "" {
|
||||||
c.S3API.SecretKey = "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
|
c.S3API.SecretKey = "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
|
||||||
}
|
}
|
||||||
// 默认使用代理模式(避免302重定向)
|
|
||||||
c.S3API.ProxyMode = true
|
|
||||||
c.S3API.AuthRequired = false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ParseMaxSize 解析最大容量字符串为字节
|
// ParseMaxSize 解析最大容量字符串为字节
|
||||||
|
|||||||
Reference in New Issue
Block a user