From 659162b76bd21aabb9b868ade25d475ccaf6e87e Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Sat, 26 Aug 2023 00:50:40 +0200 Subject: [PATCH] Making installed app maskable #587 --- src/backend/routes/PublicRouter.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/routes/PublicRouter.ts b/src/backend/routes/PublicRouter.ts index 844bb535..01b445da 100644 --- a/src/backend/routes/PublicRouter.ts +++ b/src/backend/routes/PublicRouter.ts @@ -120,9 +120,9 @@ export class PublicRouter { icons: [ { src: 'icon_inv.svg', - sizes: "48x48 72x72 96x96 128x128 256x256 512x512", - type: "image/svg+xml", - purpose: "any" + sizes: '48x48 72x72 96x96 128x128 256x256 512x512', + type: 'image/svg+xml', + purpose: 'any maskable' }, { src: 'icon_inv.png', @@ -170,7 +170,7 @@ export class PublicRouter { app.get('/icon_inv.svg', (req: Request, res: Response) => { res.set('Cache-control', 'public, max-age=31536000'); res.header('Content-Type', 'image/svg+xml'); - res.send('' + Config.Server.svgIcon.items + ''); });