File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
77## Unreleased
88
9+ ## 0.3.5 - 2022-01-19
10+ ### Added
11+ * Added space for contact information to user agent
12+
913## 0.3.4 - 2022-01-19
1014### Added
1115* Support for ` ETag ` and ` Last-Modified ` headers in feed responses
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ func getUserAgent(st *state.State) string {
4242 } else if core .Version != "" {
4343 o += "/" + core .Version
4444 }
45- o += " (https://github.com/codemicro/walrss)"
45+ o += " (" + st . Config . Platform . ContactInformation + ", https://github.com/codemicro/walrss)"
4646 ua .ua = o
4747 })
4848 return ua .ua
Original file line number Diff line number Diff line change @@ -34,8 +34,9 @@ type Config struct {
3434 ExternalURL string `fig:"externalURL" validate:"required"`
3535 }
3636 Platform struct {
37- DisableRegistration bool `fig:"disableRegistration"`
38- DisableSecureCookies bool `fig:"disableSecureCookies"`
37+ DisableRegistration bool `fig:"disableRegistration"`
38+ DisableSecureCookies bool `fig:"disableSecureCookies"`
39+ ContactInformation string `fig:"contactInformation" validate:"required"`
3940 }
4041 OIDC struct {
4142 Enable bool `fig:"enable"`
You can’t perform that action at this time.
0 commit comments