mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[feature] enable + document explicit IP dialer allowing/denying (#1950)
* [feature] enable + document explicit IP dialer allowing/denying * lord have mercy * allee jonge * shortcut check ipv6 prefixes * comment * separate httpclient_test, export Sanitizer
This commit is contained in:
@@ -208,6 +208,12 @@ var Defaults = Configuration{
|
||||
VisibilitySweepFreq: time.Minute,
|
||||
},
|
||||
|
||||
HTTPClient: HTTPClientConfiguration{
|
||||
AllowIPs: make([]string, 0),
|
||||
BlockIPs: make([]string, 0),
|
||||
Timeout: 10 * time.Second,
|
||||
},
|
||||
|
||||
AdminMediaPruneDryRun: true,
|
||||
|
||||
RequestIDHeader: "X-Request-Id",
|
||||
|
Reference in New Issue
Block a user