mirror of
https://github.com/ehang-io/nps.git
synced 2025-07-03 04:53:50 +00:00
ConfigFIle mode host bug
This commit is contained in:
parent
a831ccd8fa
commit
f0f50579fc
@ -152,6 +152,7 @@ func dealCommon(s string) *CommonConfig {
|
|||||||
func dealHost(s string) *file.Host {
|
func dealHost(s string) *file.Host {
|
||||||
h := &file.Host{}
|
h := &file.Host{}
|
||||||
h.Target = new(file.Target)
|
h.Target = new(file.Target)
|
||||||
|
h.Scheme = "all"
|
||||||
var headerChange string
|
var headerChange string
|
||||||
for _, v := range splitStr(s) {
|
for _, v := range splitStr(s) {
|
||||||
item := strings.Split(v, "=")
|
item := strings.Split(v, "=")
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package version
|
package version
|
||||||
|
|
||||||
const VERSION = "0.21.1"
|
const VERSION = "0.21.2"
|
||||||
|
|
||||||
// Compulsory minimum version, Minimum downward compatibility to this version
|
// Compulsory minimum version, Minimum downward compatibility to this version
|
||||||
func GetVersion() string {
|
func GetVersion() string {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user