mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-09-28 06:46:14 -04:00
fix: default env empty
This commit is contained in:
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
Block a user