summaryrefslogtreecommitdiff
path: root/internal/config/defaults.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2023-08-01 19:50:17 +0200
committerLibravatar GitHub <noreply@github.com>2023-08-01 18:50:17 +0100
commit2be83fdca5c440d45b8cd92bda9315757463d6c7 (patch)
tree041eb0ef390f2995cd243206c5f0cc8fb3d66488 /internal/config/defaults.go
parent[feature] Set timezone in Docker using TZ env variable (#2050) (diff)
downloadgotosocial-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/defaults.go')
-rw-r--r--internal/config/defaults.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/internal/config/defaults.go b/internal/config/defaults.go
index 7729840f0..e8cb39325 100644
--- a/internal/config/defaults.go
+++ b/internal/config/defaults.go
@@ -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,