mirror of https://github.com/cbeuw/Cloak
Avoid null ProxyBook map. Fixes #111
This commit is contained in:
parent
69a73ecfc0
commit
5baac79e56
|
|
@ -126,6 +126,9 @@ func ParseConfig(conf string) (raw RawConfig, err error) {
|
|||
return
|
||||
}
|
||||
}
|
||||
if raw.ProxyBook == nil {
|
||||
raw.ProxyBook = make(map[string][]string)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue