Refactoring

This commit is contained in:
Vladimir Stoilov
2022-07-29 17:37:36 +02:00
committed by Daniel
parent 93367b64df
commit 3d11a1029b
2 changed files with 45 additions and 41 deletions

View File

@@ -11,9 +11,7 @@ var (
cfgOptionCustomListCategoryAnnotation = "Filter Lists"
)
var (
getFilePath func() string
)
var getFilePath config.StringOption
func registerConfig() error {
help := `File that contains list of all domains, Ip addresses, country codes and autonomous system that you want to block, where each entry is on a new line.