diff --git a/public/manifest.json b/public/manifest.json index 0b6c6de85..399b9f08a 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -6,7 +6,8 @@ "scope": "/", "start_url": "/", "display": "standalone", - "display_override": ["standalone"], + "display_override": ["standalone", "minimal-ui"], + "categories": ["health", "medical", "lifestyle"], "theme_color": "#282a36", "background_color": "#282a36", "icons": [ diff --git a/src/__tests__/sw-security-hardening.test.ts b/src/__tests__/sw-security-hardening.test.ts index c082bb60e..4814e6f76 100644 --- a/src/__tests__/sw-security-hardening.test.ts +++ b/src/__tests__/sw-security-hardening.test.ts @@ -85,7 +85,8 @@ describe("public/manifest.json PWA identity hygiene (F-7, 2026-05-16)", () => { const manifest = JSON.parse(raw) as Record; expect(manifest.scope).toBe("/"); expect(manifest.id).toBe("/?source=pwa"); - expect(manifest.display_override).toEqual(["standalone"]); + expect(manifest.display_override).toEqual(["standalone", "minimal-ui"]); + expect(manifest.categories).toEqual(["health", "medical", "lifestyle"]); }); it("keeps the existing display/start_url contract", () => {