Compare commits

..

3 Commits

Author SHA1 Message Date
Xe Iaso
46ae0dd8bf test: add default-config-macro smoke test
This uses an AI generated python script to diff the contents of the bots
field of the default configuration file and the
data/meta/default-config.yaml file. It emits a patch showing what needs
to be changed.

Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-10-13 15:19:00 +00:00
Xe Iaso
1aa1071156 docs: update CHANGELOG
Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-10-13 15:18:12 +00:00
Xe Iaso
6ee14db3ec feat(data): add default-config macro
Closes #1152

Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-10-13 15:17:49 +00:00

View File

@@ -194,7 +194,6 @@ func (u *userAgentRoundTripper) RoundTrip(req *http.Request) (*http.Response, er
// Only set if not already present
req = req.Clone(req.Context()) // avoid mutating original request
req.Header.Set("User-Agent", "Mozilla/5.0")
req.Header.Set("Accept-Encoding", "gzip")
return u.rt.RoundTrip(req)
}