fix: add missing entry in manifest.json so that PWA can use it
This commit is contained in:
parent
09053f5748
commit
8ef1130330
1 changed files with 1 additions and 0 deletions
|
@ -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, "")}`;
|
||||
|
|
Loading…
Reference in a new issue