mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-14 18:47:28 -06:00
[feature] Allow users to skip http client tls verification for testing purposes (with appropriately loud warnings) (#2052)
This commit is contained in:
parent
9bd03e122e
commit
2be83fdca5
10 changed files with 98 additions and 16 deletions
|
|
@ -234,9 +234,10 @@ var Defaults = Configuration{
|
|||
},
|
||||
|
||||
HTTPClient: HTTPClientConfiguration{
|
||||
AllowIPs: make([]string, 0),
|
||||
BlockIPs: make([]string, 0),
|
||||
Timeout: 10 * time.Second,
|
||||
AllowIPs: make([]string, 0),
|
||||
BlockIPs: make([]string, 0),
|
||||
Timeout: 10 * time.Second,
|
||||
TLSInsecureSkipVerify: false,
|
||||
},
|
||||
|
||||
AdminMediaPruneDryRun: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue