mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-09 16:41:14 +00:00
fix: default env empty
This commit is contained in:
1 parent
e50afd6e44
commit
78b95d4bc2
1 file changed
+1
-1
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user