From 1f44405ac35f1ccf8897b7f8c7684fe3e827773b Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Wed, 24 Apr 2024 18:49:20 -1000 Subject: [PATCH] fix(api): :sparkles: Change spoofed Mastodon build to Glitch-Soc from vanilla mastodon --- server/api/api/v1/instance/index.ts | 2 +- server/api/api/v2/instance/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/api/api/v1/instance/index.ts b/server/api/api/v1/instance/index.ts index e064e113..4eb26987 100644 --- a/server/api/api/v1/instance/index.ts +++ b/server/api/api/v1/instance/index.ts @@ -114,7 +114,7 @@ export default apiRoute(async (req, matchedRoute, extraData) => { urls: { streaming_api: "", }, - version: "4.3.0", + version: "4.3.0-alpha.3+glitch", pleroma: { metadata: { account_activation_required: false, diff --git a/server/api/api/v2/instance/index.ts b/server/api/api/v2/instance/index.ts index 94b4094a..cc805087 100644 --- a/server/api/api/v2/instance/index.ts +++ b/server/api/api/v2/instance/index.ts @@ -52,7 +52,7 @@ export default apiRoute(async (req, matchedRoute, extraData) => { return jsonResponse({ domain: new URL(config.http.base_url).hostname, title: config.instance.name, - version: "4.3.0", + version: "4.3.0-alpha.3+glitch", source_url: "https://github.com/lysand-org/lysand", description: config.instance.description, usage: {