diff options
author | 2023-07-21 19:49:13 +0200 | |
---|---|---|
committer | 2023-07-21 18:49:13 +0100 | |
commit | f8f03120427d9d10e1b730a7626880809e983076 (patch) | |
tree | a9cc796162f8e40acc0c6712affb1dbef58668d8 /example | |
parent | [chore]: Bump modernc.org/sqlite from 1.23.1 to 1.24.0 (#1993) (diff) | |
download | gotosocial-f8f03120427d9d10e1b730a7626880809e983076.tar.xz |
[feature] Report Masto version in /api/v1/instance (#1977)
Diffstat (limited to 'example')
-rw-r--r-- | example/config.yaml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/example/config.yaml b/example/config.yaml index f95720545..5f41952af 100644 --- a/example/config.yaml +++ b/example/config.yaml @@ -400,6 +400,15 @@ instance-expose-public-timeline: false # Default: true instance-deliver-to-shared-inboxes: true +# Bool. This flag will inject a Mastodon version into the version field that +# is included in /api/v1/instance. This version is often used by Mastodon clients +# to do API feature detection. By injecting a Mastodon compatible version, it is +# possible to cajole those clients to behave correctly with GoToSocial. +# +# Options: [true, false] +# Default: false +instance-inject-mastodon-version: false + ########################### ##### ACCOUNTS CONFIG ##### ########################### |