1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-04-17 19:19:11 -04: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
}