From 285074121ea4322594abfc07114ef8308c815493 Mon Sep 17 00:00:00 2001 From: davay Date: Wed, 27 Nov 2024 17:59:52 +0700 Subject: [PATCH] feat: better manifest --- public/manifest.json | 4 ++-- public/sw.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/public/manifest.json b/public/manifest.json index 3400648..f0779b3 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -1,5 +1,5 @@ { - "id": "spectrogram-v.0.2.4", + "id": "chromatone-spectrogram", "dir": "ltr", "lang": "en", "name": "Chromatone Spectrogram", @@ -59,6 +59,6 @@ } ], "launch_handler": { - "client_mode": ["focus-existing", "auto"] + "client_mode": ["navigate-existing", "auto"] } } diff --git a/public/sw.js b/public/sw.js index 2402dc0..dfdf0fc 100644 --- a/public/sw.js +++ b/public/sw.js @@ -1,4 +1,4 @@ -const CACHE_NAME = 'spectrogram-cache-v1'; +const CACHE_NAME = 'spectrogram-cache-v2'; const ASSETS_TO_CACHE = [ '/', '/index.html',