mirror of
https://github.com/ehang-io/nps.git
synced 2026-11-01 01:02:12 +08:00
ConfigFIle mode host bug
This commit is contained in:
1 parent
a831ccd8fa
commit
f0f50579fc
2 files changed
+2
-1
No files matched your search
@@ -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, "=")
|
||||
|
||||
Reference in new issue
Block a user