Browse Source

ConfigFIle mode host bug

刘河 6 years ago
parent
commit
f0f50579fc
2 changed files with 2 additions and 1 deletions
  1. 1 0
      lib/config/config.go
  2. 1 1
      lib/version/version.go

+ 1 - 0
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, "=")

+ 1 - 1
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 {