From ee2b826b5c801611839b26e40b85b093be87d467 Mon Sep 17 00:00:00 2001 From: Gurjit Singh Date: Fri, 28 Nov 2025 12:25:51 +0100 Subject: [PATCH] fix: correct MIME type for PWA manifest icons The manifest.json was incorrectly specifying 'image/png' as the type for lettermark.jpg icon files. This commit fixes the MIME type to 'image/jpeg' to match the actual file format, ensuring proper PWA standards compliance and preventing potential browser compatibility issues. Also adds .idea/ to .gitignore to exclude JetBrains IDE configuration. --- .gitignore | 5 ++++- static/manifest.json | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index e8d9546..0897c5e 100644 --- a/.gitignore +++ b/.gitignore @@ -18,4 +18,7 @@ Thumbs.db # Vite vite.config.js.timestamp-* -vite.config.ts.timestamp-* \ No newline at end of file +vite.config.ts.timestamp-* + +# IDE +.idea diff --git a/static/manifest.json b/static/manifest.json index a5c0045..5a44463 100644 --- a/static/manifest.json +++ b/static/manifest.json @@ -10,12 +10,12 @@ { "src": "lettermark.jpg", "sizes": "192x192", - "type": "image/png" + "type": "image/jpeg" }, { "src": "lettermark.jpg", "sizes": "512x512", - "type": "image/png" + "type": "image/jpeg" } ] }