parent
2fb65cdd86
commit
9ea5cc3f5f
6 changed files with 2 additions and 3 deletions
packages/backend
Binary file not shown.
Before ![]() (image error) Size: 13 KiB After ![]() (image error) Size: 6.1 KiB ![]() ![]() |
Binary file not shown.
Before ![]() (image error) Size: 124 KiB After ![]() (image error) Size: 19 KiB ![]() ![]() |
Binary file not shown.
Before ![]() (image error) Size: 17 KiB |
Binary file not shown.
Before ![]() (image error) Size: 8.8 KiB After ![]() (image error) Size: 8 KiB ![]() ![]() |
|
@ -6,7 +6,7 @@
|
|||
"display": "standalone",
|
||||
"background_color": "#1f1d2e",
|
||||
"theme_color": "#31748f",
|
||||
"orientation": "portrait-primary",
|
||||
"orientation": "any",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/static-assets/icons/192.png",
|
||||
|
@ -21,7 +21,7 @@
|
|||
"purpose": "any"
|
||||
},
|
||||
{
|
||||
"src": "/static-assets/icons/maskable.png",
|
||||
"src": "/static-assets/icons/512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png",
|
||||
"purpose": "maskable"
|
||||
|
|
|
@ -11,7 +11,6 @@ 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…
Add table
Reference in a new issue