mirror of https://github.com/v2ray/v2ray-core
fix: default env empty
parent
e50afd6e44
commit
78b95d4bc2
|
@ -86,6 +86,6 @@ func GetConfigurationPath() string {
|
|||
|
||||
func GetConfDirPath() string {
|
||||
const name = "v2ray.location.confdir"
|
||||
configPath := NewEnvFlag(name).GetValue(getExecutableDir)
|
||||
configPath := NewEnvFlag(name).GetValue(func() string { return "" })
|
||||
return configPath
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue