From 198bfe4d377aa436fff47ffef3b54a5df4a2b059 Mon Sep 17 00:00:00 2001 From: nakkaa <10798675+nakkaa@users.noreply.github.com> Date: Sat, 11 Nov 2023 09:18:41 +0900 Subject: [PATCH] fix: add missing entry in manifest.json so that PWA can use it --- packages/backend/src/server/web/manifest.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/backend/src/server/web/manifest.ts b/packages/backend/src/server/web/manifest.ts index 2090a7f5..bbcf639f 100644 --- a/packages/backend/src/server/web/manifest.ts +++ b/packages/backend/src/server/web/manifest.ts @@ -11,6 +11,7 @@ export const manifestHandler = async (ctx: Koa.Context) => { const instance = await fetchMeta(true); res.short_name = instance.name || "Firefish"; + res.name = instance.name || "Firefish"; if (instance.themeColor) res.theme_color = instance.themeColor; for (const icon of res.icons) { icon.src = `${icon.src}?v=${config.version.replace(/[^0-9]/g, "")}`;