mirror of
https://github.com/ehang-io/nps.git
synced 2025-07-03 13:10:42 +00:00
fix multi account file
This commit is contained in:
parent
2dc902fba1
commit
4b3834e46d
@ -241,6 +241,7 @@ func dealTunnel(s string) *file.Tunnel {
|
||||
t.StripPre = item[1]
|
||||
case "multi_account":
|
||||
t.MultiAccount = &file.MultiAccount{}
|
||||
if common.FileExists(item[1]){
|
||||
if b, err := common.ReadAllFromFile(item[1]); err != nil {
|
||||
panic(err)
|
||||
} else {
|
||||
@ -252,6 +253,7 @@ func dealTunnel(s string) *file.Tunnel {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return t
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user