diff --git a/common/platform/platform.go b/common/platform/platform.go index 6ccd9762..b57a98fd 100644 --- a/common/platform/platform.go +++ b/common/platform/platform.go @@ -84,6 +84,7 @@ func GetConfigurationPath() string { return filepath.Join(configPath, "config.json") } +// GetConfDirPath reads "v2ray.location.confdir" func GetConfDirPath() string { const name = "v2ray.location.confdir" configPath := NewEnvFlag(name).GetValue(func() string { return "" })