Skip to content

Commit

Permalink
Changed default user agent to empty
Browse files Browse the repository at this point in the history
  • Loading branch information
FileGo committed May 18, 2022
1 parent 41a94fd commit f22c4f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 417,7 @@ type Config struct {
HTTPPorts ListenConfig `yaml:"httpPort"`
HTTPSPorts ListenConfig `yaml:"httpsPort"`
TLSPorts ListenConfig `yaml:"tlsPort"`
DoHUserAgent string `yaml:"dohUserAgent" default:"blocky"`
DoHUserAgent string `yaml:"dohUserAgent"`
// Deprecated
DisableIPv6 bool `yaml:"disableIPv6" default:"false"`
CertFile string `yaml:"certFile"`
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 23,7 @@ configuration properties as [JSON](config.yml).
| logFormat | enum (text, json) | no | text | Log format (text or json). |
| logTimestamp | bool | no | true | Log time stamps (true or false). |
| logPrivacy | bool | no | false | Obfuscate log output (replace all alphanumeric characters with *) for user sensitive data like request domains or responses to increase privacy. |
| dohUserAgent | string | no | blocky | HTTP User Agent for DoH upstreams |
| dohUserAgent | string | no | | HTTP User Agent for DoH upstreams |

!!! example

Expand Down

0 comments on commit f22c4f1

Please sign in to comment.