hotfix(settings): HTTPPROXY_LOG reading fixed
This commit is contained in:
@@ -166,7 +166,7 @@ func readHTTProxyLog(r *reader.Reader) (enabled *bool, err error) {
|
|||||||
const currentKey = "HTTPPROXY_LOG"
|
const currentKey = "HTTPPROXY_LOG"
|
||||||
// Retro-compatible keys using different boolean verbs
|
// Retro-compatible keys using different boolean verbs
|
||||||
value := r.String("",
|
value := r.String("",
|
||||||
reader.RetroKeys("PROXY_LOG", "TINYPROXY_LOG", "HTTPPROXY_LOG"),
|
reader.RetroKeys("PROXY_LOG", "TINYPROXY_LOG"),
|
||||||
reader.IsRetro(currentKey))
|
reader.IsRetro(currentKey))
|
||||||
switch strings.ToLower(value) {
|
switch strings.ToLower(value) {
|
||||||
case "":
|
case "":
|
||||||
|
|||||||
Reference in New Issue
Block a user