From f0f50579fcbbf31726d14d7856d4c202403633ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B2=B3?= Date: Wed, 3 Apr 2019 17:15:50 +0800 Subject: [PATCH] ConfigFIle mode host bug --- lib/config/config.go | 1 + lib/version/version.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/config/config.go b/lib/config/config.go index e0bb3c26..7b4ce5cc 100644 --- a/lib/config/config.go +++ b/lib/config/config.go @@ -152,6 +152,7 @@ func dealCommon(s string) *CommonConfig { func dealHost(s string) *file.Host { h := &file.Host{} h.Target = new(file.Target) + h.Scheme = "all" var headerChange string for _, v := range splitStr(s) { item := strings.Split(v, "=") diff --git a/lib/version/version.go b/lib/version/version.go index bca6a38e..84c0450a 100644 --- a/lib/version/version.go +++ b/lib/version/version.go @@ -1,6 +1,6 @@ package version -const VERSION = "0.21.1" +const VERSION = "0.21.2" // Compulsory minimum version, Minimum downward compatibility to this version func GetVersion() string {