From 2fdf09d0416471e118d315f5f75c13ab4dfd2212 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matou=C5=A1=20Volf?= Date: Sat, 13 Dec 2025 22:46:56 +0100 Subject: [PATCH] fix: the webmanifest options --- assets/manifest.json | 1 + src/components/app.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/manifest.json b/assets/manifest.json index d1edca0..ee671f6 100644 --- a/assets/manifest.json +++ b/assets/manifest.json @@ -9,6 +9,7 @@ { "src": "/assets/images/icon.png", "sizes": "any", + "purpose": "maskable", "type": "image/png" } ] diff --git a/src/components/app.rs b/src/components/app.rs index f8d6617..0760d37 100644 --- a/src/components/app.rs +++ b/src/components/app.rs @@ -40,7 +40,7 @@ pub(crate) fn App() -> Element { document::Stylesheet { href: FONTS_CSS } document::Stylesheet { href: INPUT_NUMBER_ARROWS_CSS } document::Stylesheet { href: INPUT_RANGE_CSS } - document::Link { rel: "manifest", href: MANIFEST } + document::Link { rel: "manifest", href: MANIFEST, crossorigin: "use-credentials" } document::Script { src: "https://kit.fontawesome.com/3c1b409f8f.js" } div {