fix(api): Change spoofed Mastodon build to Glitch-Soc from vanilla mastodon

This commit is contained in:
Jesse Wierzbinski 2024-04-24 18:49:20 -10:00
parent 7976e4b810
commit 1f44405ac3
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -114,7 +114,7 @@ export default apiRoute(async (req, matchedRoute, extraData) => {
urls: { urls: {
streaming_api: "", streaming_api: "",
}, },
version: "4.3.0", version: "4.3.0-alpha.3+glitch",
pleroma: { pleroma: {
metadata: { metadata: {
account_activation_required: false, account_activation_required: false,

View file

@ -52,7 +52,7 @@ export default apiRoute(async (req, matchedRoute, extraData) => {
return jsonResponse({ return jsonResponse({
domain: new URL(config.http.base_url).hostname, domain: new URL(config.http.base_url).hostname,
title: config.instance.name, title: config.instance.name,
version: "4.3.0", version: "4.3.0-alpha.3+glitch",
source_url: "https://github.com/lysand-org/lysand", source_url: "https://github.com/lysand-org/lysand",
description: config.instance.description, description: config.instance.description,
usage: { usage: {