From 8d92b2479f810bc5d20245361fa59339763a1495 Mon Sep 17 00:00:00 2001 From: firescry <49809580+firescry@users.noreply.github.com> Date: Wed, 12 Jul 2023 10:28:41 +0200 Subject: [bugfix] Align default values in the configuration file with the code (#1971) * Set default value of SMTPFrom to empty string This parameter should contain proper e-mail address (to be provided by user during configuration). * Update default values in example/config.yaml Default values and related comments in example/config.yaml are aligned with values defined in internal/config/defaults.go. Small improvements to foramting of config.yaml file. * Add default value for AdvancedThrottlingRetryAfter to internal/config/defaults.go AdvancedThrottlingRetryAfter was introduced in 70739d3 (superseriousbusiness/gotosocial#1466). * Update config.yaml snippets in documentation --- docs/configuration/tls.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/configuration/tls.md') diff --git a/docs/configuration/tls.md b/docs/configuration/tls.md index 79bc509eb..933d71e32 100644 --- a/docs/configuration/tls.md +++ b/docs/configuration/tls.md @@ -52,7 +52,7 @@ letsencrypt-email-address: "" ##### MANUAL TLS CONFIG ##### ############################## -# String. Path to a PEM-encoded file on disk that includes the certificate chain +# String. Path to a PEM-encoded file on disk that includes the certificate chain # and the public key # Examples: ["/gotosocial/storage/certs/chain.pem"] # Default: "" -- cgit v1.2.3