From fad6a3d394501b6f00b04b32b5cac1548d5d311c Mon Sep 17 00:00:00 2001 From: Alex Palaistras Date: Sat, 22 Jul 2023 10:28:09 +0100 Subject: [PATCH] gotosocial: Inject supported Mastodon version --- service/gotosocial/container/config/config.yaml.template | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/service/gotosocial/container/config/config.yaml.template b/service/gotosocial/container/config/config.yaml.template index f4e403b..8a28ee3 100644 --- a/service/gotosocial/container/config/config.yaml.template +++ b/service/gotosocial/container/config/config.yaml.template @@ -54,6 +54,13 @@ web-template-base-dir: "/opt/gotosocial/web/template/" # Directory from which gotosocial will attempt to serve static web assets (images, scripts). web-asset-base-dir: "/opt/gotosocial/web/assets/" +########################### +##### INSTANCE CONFIG ##### +########################### + +# Inject a Mastodon version into the version field that is included in /api/v1/instance. +instance-inject-mastodon-version: true + ########################### ##### ACCOUNTS CONFIG ##### ###########################