Browse Source

fix: default env empty

vcptr 5 years ago
parent
commit
78b95d4bc2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      common/platform/platform.go

+ 1 - 1
common/platform/platform.go

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