diff options
author | 2023-08-01 19:50:17 +0200 | |
---|---|---|
committer | 2023-08-01 18:50:17 +0100 | |
commit | 2be83fdca5c440d45b8cd92bda9315757463d6c7 (patch) | |
tree | 041eb0ef390f2995cd243206c5f0cc8fb3d66488 /internal/config/config.go | |
parent | [feature] Set timezone in Docker using TZ env variable (#2050) (diff) | |
download | gotosocial-2be83fdca5c440d45b8cd92bda9315757463d6c7.tar.xz |
[feature] Allow users to skip http client tls verification for testing purposes (with appropriately loud warnings) (#2052)
Diffstat (limited to 'internal/config/config.go')
-rw-r--r-- | internal/config/config.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/internal/config/config.go b/internal/config/config.go index 9397379b8..7f09b5fc1 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -168,9 +168,10 @@ type Configuration struct { } type HTTPClientConfiguration struct { - AllowIPs []string `name:"allow-ips"` - BlockIPs []string `name:"block-ips"` - Timeout time.Duration `name:"timeout"` + AllowIPs []string `name:"allow-ips"` + BlockIPs []string `name:"block-ips"` + Timeout time.Duration `name:"timeout"` + TLSInsecureSkipVerify bool `name:"tls-insecure-skip-verify"` } type CacheConfiguration struct { |