1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-24 08:25:23 +00:00

fix: default env empty

This commit is contained in:
vcptr 2019-12-31 13:39:17 +08:00
parent e50afd6e44
commit 78b95d4bc2

View File

@ -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
}