summaryrefslogtreecommitdiff
path: root/internal/config/defaults.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2023-08-20 13:35:55 +0200
committerLibravatar tsmethurst <tobi.smethurst@protonmail.com>2023-08-21 17:17:46 +0200
commit4b5a3e01d06976ba3aa3af29a0da0145c23ba948 (patch)
tree726a6a69a39e58bf749a2c9a5906c59e23675db1 /internal/config/defaults.go
parent[bugfix] fix double firing bun.DB query hooks (#2124) (diff)
downloadgotosocial-4b5a3e01d06976ba3aa3af29a0da0145c23ba948.tar.xz
[feature/bugfix] Probe S3 storage for CSP uri, add config flag for extra URIs (#2134)
* [feature/bugfix] Probe S3 storage for CSP uri, add config flag for extra URIs * env parsing tests, my coy mistress
Diffstat (limited to 'internal/config/defaults.go')
-rw-r--r--internal/config/defaults.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/config/defaults.go b/internal/config/defaults.go
index 536f1b0a3..61a037157 100644
--- a/internal/config/defaults.go
+++ b/internal/config/defaults.go
@@ -124,6 +124,7 @@ var Defaults = Configuration{
AdvancedThrottlingMultiplier: 8, // 8 open requests per CPU
AdvancedThrottlingRetryAfter: time.Second * 30,
AdvancedSenderMultiplier: 2, // 2 senders per CPU
+ AdvancedCSPExtraURIs: []string{},
Cache: CacheConfiguration{
// Rough memory target that the total