From f8f03120427d9d10e1b730a7626880809e983076 Mon Sep 17 00:00:00 2001 From: Daenney Date: Fri, 21 Jul 2023 19:49:13 +0200 Subject: [feature] Report Masto version in /api/v1/instance (#1977) --- example/config.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'example') 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 ##### ########################### -- cgit v1.2.3