|
@@ -84,6 +84,7 @@ func GetConfigurationPath() string {
|
|
|
return filepath.Join(configPath, "config.json")
|
|
return filepath.Join(configPath, "config.json")
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+// GetConfDirPath reads "v2ray.location.confdir"
|
|
|
func GetConfDirPath() string {
|
|
func GetConfDirPath() string {
|
|
|
const name = "v2ray.location.confdir"
|
|
const name = "v2ray.location.confdir"
|
|
|
configPath := NewEnvFlag(name).GetValue(func() string { return "" })
|
|
configPath := NewEnvFlag(name).GetValue(func() string { return "" })
|