Skip to content

Commit f0f5057

Browse files
author
刘河
committed
ConfigFIle mode host bug
1 parent a831ccd commit f0f5057

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

lib/config/config.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ func dealCommon(s string) *CommonConfig {
152152
func dealHost(s string) *file.Host {
153153
h := &file.Host{}
154154
h.Target = new(file.Target)
155+
h.Scheme = "all"
155156
var headerChange string
156157
for _, v := range splitStr(s) {
157158
item := strings.Split(v, "=")

lib/version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package version
22

3-
const VERSION = "0.21.1"
3+
const VERSION = "0.21.2"
44

55
// Compulsory minimum version, Minimum downward compatibility to this version
66
func GetVersion() string {

0 commit comments

Comments
 (0)