mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-28 16:12:25 -05:00
[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
This commit is contained in:
parent
f5d6503aad
commit
8d92b2479f
11 changed files with 55 additions and 32 deletions
|
|
@ -23,11 +23,21 @@ log-level: "info"
|
|||
# Default: false
|
||||
log-db-queries: false
|
||||
|
||||
# Bool. Include the client IP in the emitted log lines
|
||||
# Options: [true, false]
|
||||
# Default: true
|
||||
log-client-ip: true
|
||||
|
||||
# String. Application name to use internally.
|
||||
# Examples: ["My Application","gotosocial"]
|
||||
# Default: "gotosocial"
|
||||
application-name: "gotosocial"
|
||||
|
||||
# String. The user that will be shown instead of the landing page. if no user is set, the landing page will be shown.
|
||||
# Examples: "admin"
|
||||
# Default: ""
|
||||
landing-page-user: ""
|
||||
|
||||
# String. Hostname that this server will be reachable at. Defaults to localhost for local testing,
|
||||
# but you should *definitely* change this when running for real, or your server won't work at all.
|
||||
# DO NOT change this after your server has already run once, or you will break things!
|
||||
|
|
@ -44,7 +54,9 @@ host: "localhost"
|
|||
#
|
||||
# You should also redirect requests at "example.org/.well-known/nodeinfo" in the same way.
|
||||
#
|
||||
# You should also redirect requests at "example.org/.well-known/host-meta" in the same way. This endpoint is used by a number of clients to discover the API endpoint to use when the host and account domain are different.
|
||||
# You should also redirect requests at "example.org/.well-known/host-meta" in the same way. This endpoint
|
||||
# is used by a number of clients to discover the API endpoint to use when the host and account domain are
|
||||
# different.
|
||||
#
|
||||
# An empty string (ie., not set) means that the same value as 'host' will be used.
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue