Don't omit empty user rules in configfile -- otherwise users might not be able to find that it's customizable in configfile.
This commit is contained in:
parent
e31905864b
commit
609523a59c
|
@ -30,7 +30,7 @@ type configuration struct {
|
|||
Language string `yaml:"language"` // two-letter ISO 639-1 language code
|
||||
DNS dnsConfig `yaml:"dns"`
|
||||
Filters []filter `yaml:"filters"`
|
||||
UserRules []string `yaml:"user_rules,omitempty"`
|
||||
UserRules []string `yaml:"user_rules"`
|
||||
|
||||
sync.RWMutex `yaml:"-"`
|
||||
|
||||
|
|
Loading…
Reference in New Issue