From 98fda45702abe3d2c032621690290673bab989a2 Mon Sep 17 00:00:00 2001 From: Ivan Beltrame <87547424+Imperatore1003@users.noreply.github.com> Date: Sun, 8 Dec 2024 13:10:03 +0100 Subject: [PATCH] Improving PWA --- manifest.json | 4 ++++ sw.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index a90fdec..bc5c513 100755 --- a/manifest.json +++ b/manifest.json @@ -10,6 +10,7 @@ "display": "minimal-ui", "dir": "ltr", "lang": "it", + "categories": ["utilities", "games"], "description": "Il mio sito personale dove puoi trovare qualche fatto su di me, vedere i miei certificati e navigare sui miei siti", "icons": [ { @@ -110,5 +111,8 @@ "form_factor": "narrow", "label": "Pagina dei contatti visitata da un telefono" } + ], + "scope_extensions": [ + {"origin": "*.ivanbeltrame.com"} ] } \ No newline at end of file diff --git a/sw.js b/sw.js index f5b6a7e..002669b 100644 --- a/sw.js +++ b/sw.js @@ -1,4 +1,4 @@ -const cacheVersion = "v27"; +const cacheVersion = "v28"; const statiCache = "site-static-" + cacheVersion; const dynamicCache = "site-dynamic-" + cacheVersion;